Use instant to fix Wasm target
This commit is contained in:
parent
e2ddef7438
commit
fc54d6ba31
9 changed files with 12 additions and 9 deletions
|
|
@ -28,7 +28,7 @@ use crate::{
|
|||
Rectangle, Shell, Size, Vector, Widget,
|
||||
};
|
||||
|
||||
use std::time::{Duration, Instant};
|
||||
use instant::{Duration, Instant};
|
||||
|
||||
pub use iced_style::text_input::{Appearance, StyleSheet};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue