mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 06:40:06 -04:00
Increase MSRV to 1.67 (#3234)
* Bump MSRV to 1.67 * clippy fixes * cargo clippy: inline format args * Add `clippy::uninlined_format_args` to cranky lints * Fix clippy on wasm * More clippy fixes
This commit is contained in:
@@ -232,8 +232,7 @@ impl BackendPanel {
|
||||
if ui
|
||||
.add_enabled(enabled, egui::Button::new("Reset"))
|
||||
.on_hover_text(format!(
|
||||
"Reset scale to native value ({:.1})",
|
||||
native_pixels_per_point
|
||||
"Reset scale to native value ({native_pixels_per_point:.1})"
|
||||
))
|
||||
.clicked()
|
||||
{
|
||||
@@ -441,7 +440,7 @@ impl EguiWindows {
|
||||
.stick_to_bottom(true)
|
||||
.show(ui, |ui| {
|
||||
for event in output_event_history {
|
||||
ui.label(format!("{:?}", event));
|
||||
ui.label(format!("{event:?}"));
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user