From 9af4af6269186749c5f06e8ccb193139158e0ad8 Mon Sep 17 00:00:00 2001 From: Victoria Fischer Date: Sun, 1 Dec 2024 21:05:15 +0100 Subject: [PATCH] time: use core --- src/time.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/time.rs b/src/time.rs index 6e0d522..bc9303a 100644 --- a/src/time.rs +++ b/src/time.rs @@ -1,4 +1,5 @@ -use std::time::{Instant, Duration}; +use core::time::Duration; +use std::time::Instant; #[derive(Debug, Clone, Copy)] pub struct Periodically {