time: use core
This commit is contained in:
@ -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 {
|
||||||
|
Reference in New Issue
Block a user