Skip to content

Commit

Permalink
Fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
devkelley committed Jan 18, 2024
1 parent afc69a4 commit 35ed665
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion common/src/config_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ pub const FILE_SEPARATOR: &str = ".";
///
/// # Arguments
/// * `ext` - extension str to convert.
fn try_ext_into_file_format(ext: &str) -> Result<FileFormat, Box<dyn std::error::Error + Send + Sync>> {
fn try_ext_into_file_format(
ext: &str,
) -> Result<FileFormat, Box<dyn std::error::Error + Send + Sync>> {
match ext {
ext if FileFormat::Ini.file_extensions().contains(&ext) => Ok(FileFormat::Ini),
ext if FileFormat::Json.file_extensions().contains(&ext) => Ok(FileFormat::Json),
Expand Down

0 comments on commit 35ed665

Please sign in to comment.