mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
Inline print variables (#328)
* Inline format messages * Cargo auto fixes
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user