Use instant instead of std::instant
This commit is contained in:
parent
bdca20fc4a
commit
9f47ac8d31
2 changed files with 2 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
//! Track mouse clicks.
|
||||
use crate::Point;
|
||||
use std::time::Instant;
|
||||
use instant::Instant;
|
||||
|
||||
/// A mouse click.
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue