Skip to content

Commit

Permalink
Fmt the code
Browse files Browse the repository at this point in the history
  • Loading branch information
arhuman committed Apr 19, 2022
1 parent 801337a commit 34a1a00
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion massa-models/src/node_configuration/massa_settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ pub fn build_massa_settings<T: Deserialize<'static>>(app_name: &str, env_prefix:
let path_str = user_config_path.to_str().unwrap();
settings
.merge(config::File::with_name(path_str))
.unwrap_or_else(|error| panic!("failed to read {} user config: {}", path_str, error));
.unwrap_or_else(|error| {
panic!("failed to read {} user config: {}", path_str, error)
});
}
}
settings
Expand Down

0 comments on commit 34a1a00

Please sign in to comment.