Fix clippy lints for Rust 1.88 🎉

This commit is contained in:
Héctor Ramón Jiménez 2025-06-27 00:00:49 +02:00
parent c952ea8485
commit 8578a1362b
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
8 changed files with 16 additions and 17 deletions

View file

@ -297,11 +297,11 @@ where
}
fn drag_enabled(&self) -> bool {
self.internal
.maximized()
.is_none()
.then(|| self.on_drag.is_some())
.unwrap_or_default()
if self.internal.maximized().is_none() {
self.on_drag.is_some()
} else {
Default::default()
}
}
fn grid_interaction(