clippy: Fix warnings

This commit is contained in:
Sophie Herold 2025-12-19 00:04:27 +01:00
parent 45fc2ca051
commit e9389a3a18
2 changed files with 3 additions and 3 deletions

View file

@ -117,7 +117,7 @@ impl Tile {
snapshot.append_scaled_texture(&self.texture, options.scaling_filter, &area_with_bleed);
snapshot.pop();
if std::env::var_os("LOUPE_TILING_DEBUG").is_some_and(|x| x.len() > 0) {
if std::env::var_os("LOUPE_TILING_DEBUG").is_some_and(|x| !x.is_empty()) {
snapshot.append_inset_shadow(
&gsk::RoundedRect::from_rect(area, 0.),
&gdk::RGBA::new(1., 0., 0., 0.7),