summaryrefslogtreecommitdiffstats
path: root/native/src/window/event.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-01-12 05:26:39 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-01-12 05:26:39 +0100
commitfc54d6ba31246157422d092914ba7c1e483129c4 (patch)
tree4de3fc6a870506db7f87b389bdf94061e3ee7187 /native/src/window/event.rs
parente2ddef74387bcd81859b56e47316c47d7b739a01 (diff)
downloadiced-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.rs2
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)]