summaryrefslogtreecommitdiffstats
path: root/native/src/window.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-01-12 06:24:44 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-01-12 06:25:59 +0100
commitc6d0046102bb6951bf0f1f6102f748199c5889e2 (patch)
treefe4b5212f4fc5dc6123c1441087f8b9d505679ce /native/src/window.rs
parentfc54d6ba31246157422d092914ba7c1e483129c4 (diff)
downloadiced-c6d0046102bb6951bf0f1f6102f748199c5889e2.tar.gz
iced-c6d0046102bb6951bf0f1f6102f748199c5889e2.tar.bz2
iced-c6d0046102bb6951bf0f1f6102f748199c5889e2.zip
Use `instant` instead of `wasm-timer` in `iced_core`
Diffstat (limited to 'native/src/window.rs')
-rw-r--r--native/src/window.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/native/src/window.rs b/native/src/window.rs
index 94201059..bd92730d 100644
--- a/native/src/window.rs
+++ b/native/src/window.rs
@@ -12,8 +12,7 @@ pub use redraw_request::RedrawRequest;
pub use user_attention::UserAttention;
use crate::subscription::{self, Subscription};
-
-use instant::Instant;
+use crate::time::Instant;
/// Subscribes to the frames of the window of the running application.
///