Inline print variables (#328)

* Inline format messages

* Cargo auto fixes
This commit is contained in:
Philip Kristoffersen
2023-02-02 21:33:42 +01:00
committed by GitHub
parent e92196e701
commit 27b429adcd
24 changed files with 61 additions and 72 deletions
+2 -3
View File
@@ -84,8 +84,7 @@ pub fn get_platforms() -> Platforms {
Ok(s) => s,
Err(err) => {
eprintln!(
"Could not load platform settings, using defaults: Error: {:?}",
err
"Could not load platform settings, using defaults: Error: {err:?}"
);
HashMap::new()
}
@@ -113,7 +112,7 @@ where
Ok(k) => k,
Err(err) => {
if !str.is_empty() {
eprintln!("Error reading settings file {:?}", err);
eprintln!("Error reading settings file {err:?}");
}
Setting::default()
}