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.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.rs')
-rw-r--r-- | native/src/window.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/native/src/window.rs b/native/src/window.rs index 6ebe15b1..94201059 100644 --- a/native/src/window.rs +++ b/native/src/window.rs @@ -13,7 +13,7 @@ pub use user_attention::UserAttention; use crate::subscription::{self, Subscription}; -use std::time::Instant; +use instant::Instant; /// Subscribes to the frames of the window of the running application. /// |