summaryrefslogtreecommitdiffstats
path: root/lazy
diff options
context:
space:
mode:
authorLibravatar Nick Senger <nicks@lich.io>2022-08-05 16:15:19 -0700
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-11-03 02:23:19 +0100
commit459d32b98476b05da5e7548c67c28c147b107736 (patch)
tree35ba081dbfa16b609a00331e05e972e0b1aedae7 /lazy
parent50eb9e34b8ea939c263c1f548ef3f228400d4bda (diff)
downloadiced-459d32b98476b05da5e7548c67c28c147b107736.tar.gz
iced-459d32b98476b05da5e7548c67c28c147b107736.tar.bz2
iced-459d32b98476b05da5e7548c67c28c147b107736.zip
lint
Diffstat (limited to 'lazy')
-rw-r--r--lazy/src/cached.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/lazy/src/cached.rs b/lazy/src/cached.rs
index c046179f..184ec9e7 100644
--- a/lazy/src/cached.rs
+++ b/lazy/src/cached.rs
@@ -3,8 +3,8 @@ use iced_native::layout::{self, Layout};
use iced_native::mouse;
use iced_native::overlay;
use iced_native::renderer;
-use iced_native::{Clipboard, Hasher, Length, Point, Rectangle, Shell, Size};
use iced_native::widget::tree::{self, Tree};
+use iced_native::{Clipboard, Hasher, Length, Point, Rectangle, Shell, Size};
use iced_native::{Element, Widget};
use ouroboros::self_referencing;
@@ -325,7 +325,7 @@ where
shell,
)
})
- .unwrap_or_else(|| iced_native::event::Status::Ignored)
+ .unwrap_or(iced_native::event::Status::Ignored)
}
}