Use instant to fix Wasm target
This commit is contained in:
parent
e2ddef7438
commit
fc54d6ba31
9 changed files with 12 additions and 9 deletions
|
|
@ -13,7 +13,7 @@ pub use user_attention::UserAttention;
|
|||
|
||||
use crate::subscription::{self, Subscription};
|
||||
|
||||
use std::time::Instant;
|
||||
use instant::Instant;
|
||||
|
||||
/// Subscribes to the frames of the window of the running application.
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue