Fix clippy issues on stable

This commit is contained in:
Kirill Chibisov
2023-01-27 07:18:58 +03:00
committed by GitHub
parent e1b7fda409
commit 930df0ec45
36 changed files with 68 additions and 76 deletions

View File

@@ -522,7 +522,7 @@ impl<T: 'static> EventLoop<T> {
// Acknowledge the latest resize event.
if let Some((w, h)) = event_state.resize_opt.take() {
window
.write(format!("S,{},{}", w, h).as_bytes())
.write(format!("S,{w},{h}").as_bytes())
.expect("failed to acknowledge resize");
// Require redraw after resize.