diff options
author | 2022-01-28 17:20:40 +0700 | |
---|---|---|
committer | 2022-01-28 21:37:16 +0700 | |
commit | 83c649b574d90667d23c8430baaebcd0ef933055 (patch) | |
tree | 7fdb5868ff5cb8af51f1efdad7a9f177207348c3 /native/src/time.rs | |
parent | 87b3e03d187237f665b376018ea5af0cc5f05814 (diff) | |
download | iced-83c649b574d90667d23c8430baaebcd0ef933055.tar.gz iced-83c649b574d90667d23c8430baaebcd0ef933055.tar.bz2 iced-83c649b574d90667d23c8430baaebcd0ef933055.zip |
Move `time` module from `iced_native` to `iced_core`
Diffstat (limited to 'native/src/time.rs')
-rw-r--r-- | native/src/time.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/native/src/time.rs b/native/src/time.rs deleted file mode 100644 index 5f95ee86..00000000 --- a/native/src/time.rs +++ /dev/null @@ -1,7 +0,0 @@ -//! Keep track of time, both in native and web platforms! - -#[cfg(target_arch = "wasm32")] -pub use instant::{Duration, Instant}; - -#[cfg(not(target_arch = "wasm32"))] -pub use std::time::{Duration, Instant}; |