reformatted code with rustfmt

This commit is contained in:
Keanu D?lle 2020-01-15 12:44:34 +01:00
parent 829e90753a
commit 7693d17202
2 changed files with 11 additions and 8 deletions

View File

@ -8,7 +8,7 @@ pub mod helper;
use helper::settings::Settings; use helper::settings::Settings;
fn main() { fn main() {
let settings = match Settings::new(){ let settings = match Settings::new() {
Ok(settings) => settings, Ok(settings) => settings,
Err(e) => { Err(e) => {
println!("Failed to read config: {}", e); println!("Failed to read config: {}", e);
@ -16,5 +16,8 @@ fn main() {
} }
}; };
println!("Hello, world! Default Language: {}", settings.application.default_language); println!(
"Hello, world! Default Language: {}",
settings.application.default_language
);
} }