diff options
author | 2023-01-12 05:26:39 +0100 | |
---|---|---|
committer | 2023-01-12 05:26:39 +0100 | |
commit | fc54d6ba31246157422d092914ba7c1e483129c4 (patch) | |
tree | 4de3fc6a870506db7f87b389bdf94061e3ee7187 /native/src/window/event.rs | |
parent | e2ddef74387bcd81859b56e47316c47d7b739a01 (diff) | |
download | iced-fc54d6ba31246157422d092914ba7c1e483129c4.tar.gz iced-fc54d6ba31246157422d092914ba7c1e483129c4.tar.bz2 iced-fc54d6ba31246157422d092914ba7c1e483129c4.zip |
Use `instant` to fix Wasm target
Diffstat (limited to 'native/src/window/event.rs')
-rw-r--r-- | native/src/window/event.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/native/src/window/event.rs b/native/src/window/event.rs index 16684222..64dd17d7 100644 --- a/native/src/window/event.rs +++ b/native/src/window/event.rs @@ -1,5 +1,5 @@ +use instant::Instant; use std::path::PathBuf; -use std::time::Instant; /// A window-related event. #[derive(PartialEq, Eq, Clone, Debug)] |