diff --git a/common/src/config_utils.rs b/common/src/config_utils.rs index 7b185c1..baadb7b 100644 --- a/common/src/config_utils.rs +++ b/common/src/config_utils.rs @@ -19,7 +19,9 @@ pub const FILE_SEPARATOR: &str = "."; /// /// # Arguments /// * `ext` - extension str to convert. -fn try_ext_into_file_format(ext: &str) -> Result> { +fn try_ext_into_file_format( + ext: &str, +) -> Result> { match ext { ext if FileFormat::Ini.file_extensions().contains(&ext) => Ok(FileFormat::Ini), ext if FileFormat::Json.file_extensions().contains(&ext) => Ok(FileFormat::Json),