Use instant instead of std::instant

This commit is contained in:
Kai Mast 2022-01-22 18:39:59 -06:00 committed by Héctor Ramón Jiménez
parent bdca20fc4a
commit 9f47ac8d31
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
2 changed files with 2 additions and 1 deletions

View file

@ -14,6 +14,7 @@ debug = []
twox-hash = { version = "1.5", default-features = false }
unicode-segmentation = "1.6"
num-traits = "0.2"
instant = { version="0.1", features=["wasm-bindgen"] }
[dependencies.iced_core]
version = "0.4"

View file

@ -1,6 +1,6 @@
//! Track mouse clicks.
use crate::Point;
use std::time::Instant;
use instant::Instant;
/// A mouse click.
#[derive(Debug, Clone, Copy)]