summaryrefslogtreecommitdiffstats
path: root/native/src/window/redraw_request.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/redraw_request.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/redraw_request.rs')
-rw-r--r--native/src/window/redraw_request.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/native/src/window/redraw_request.rs b/native/src/window/redraw_request.rs
index 1377823a..be5bd757 100644
--- a/native/src/window/redraw_request.rs
+++ b/native/src/window/redraw_request.rs
@@ -1,4 +1,4 @@
-use std::time::Instant;
+use instant::Instant;
/// A request to redraw a window.
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]