1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 06:10:06 -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

@@ -520,7 +520,7 @@ pub fn image_snapshot_options(
match try_image_snapshot_options(current, name, options) {
Ok(_) => {}
Err(err) => {
panic!("{}", err);
panic!("{err}");
}
}
}
@@ -539,7 +539,7 @@ pub fn image_snapshot(current: &image::RgbaImage, name: impl Into<String>) {
match try_image_snapshot(current, name) {
Ok(_) => {}
Err(err) => {
panic!("{}", err);
panic!("{err}");
}
}
}
@@ -613,7 +613,7 @@ impl<State> Harness<'_, State> {
match self.try_snapshot_options(name, options) {
Ok(_) => {}
Err(err) => {
panic!("{}", err);
panic!("{err}");
}
}
}
@@ -631,7 +631,7 @@ impl<State> Harness<'_, State> {
match self.try_snapshot(name) {
Ok(_) => {}
Err(err) => {
panic!("{}", err);
panic!("{err}");
}
}
}