Use instant to fix Wasm target

This commit is contained in:
Héctor Ramón Jiménez 2023-01-12 05:26:39 +01:00
parent e2ddef7438
commit fc54d6ba31
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
9 changed files with 12 additions and 9 deletions

View file

@ -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};