time: use core

This commit is contained in:
Victoria Fischer 2024-12-01 21:05:15 +01:00
parent 36aead9762
commit 9af4af6269

View File

@ -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 {