time: use core
This commit is contained in:
parent
36aead9762
commit
9af4af6269
@ -1,4 +1,5 @@
|
|||||||
use std::time::{Instant, Duration};
|
use core::time::Duration;
|
||||||
|
use std::time::Instant;
|
||||||
|
|
||||||
#[derive(Debug, Clone, Copy)]
|
#[derive(Debug, Clone, Copy)]
|
||||||
pub struct Periodically {
|
pub struct Periodically {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user