1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 21:30:03 -04:00

Inline log format args (#7600)

This commit is contained in:
Emil Ernerfeldt
2025-10-07 16:14:43 +02:00
committed by GitHub
parent ac4e04d0b8
commit 86dc9ea64e
15 changed files with 34 additions and 49 deletions

View File

@@ -916,7 +916,7 @@ pub fn set_value<T: serde::Serialize>(storage: &mut dyn Storage, key: &str, valu
profiling::function_scope!(key);
match ron::ser::to_string(value) {
Ok(string) => storage.set_string(key, string),
Err(err) => log::error!("eframe failed to encode data using ron: {}", err),
Err(err) => log::error!("eframe failed to encode data using ron: {err}"),
}
}