(config: &LoadedConfig)
| 470 | } |
| 471 | |
| 472 | pub fn from_config(config: &LoadedConfig) -> Self { |
| 473 | let mut registry = Self::new(); |
| 474 | registry.apply_config(config); |
| 475 | registry |
| 476 | } |
| 477 | |
| 478 | pub fn from_optional_config(config: Option<&LoadedConfig>) -> Self { |
| 479 | if let Some(config) = config { |
nothing calls this directly
no test coverage detected