From a990de90fe41456a23e58bd087d2f107d321f3a1 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 19 Jul 2024 16:37:58 +0400 Subject: Deleted vendor folder --- vendor/instant/src/native.rs | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 vendor/instant/src/native.rs (limited to 'vendor/instant/src/native.rs') diff --git a/vendor/instant/src/native.rs b/vendor/instant/src/native.rs deleted file mode 100644 index a1412aa..0000000 --- a/vendor/instant/src/native.rs +++ /dev/null @@ -1,9 +0,0 @@ -pub type Instant = std::time::Instant; -pub type SystemTime = std::time::SystemTime; - -/// The current time, expressed in milliseconds since the Unix Epoch. -pub fn now() -> f64 { - std::time::SystemTime::now().duration_since(std::time::SystemTime::UNIX_EPOCH) - .expect("System clock was before 1970.") - .as_secs_f64() * 1000.0 -} -- cgit v1.2.3