Fix clippy lints

This commit is contained in:
Héctor Ramón Jiménez 2023-11-29 22:37:54 +01:00
parent 9b34b2ac19
commit 7def3ee38a
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
4 changed files with 28 additions and 19 deletions

View file

@ -720,9 +720,10 @@ pub fn run_command<A, C, E>(
let _res = window.drag_window();
}
window::Action::Spawn { .. } => {
log::info!(
"Spawning a window is only available with multi-window applications."
)
log::warn!(
"Spawning a window is only available with \
multi-window applications."
);
}
window::Action::Resize(size) => {
window.set_inner_size(winit::dpi::LogicalSize {