From 69ae4338f2e24492c7a34a40a13bbfe9291bba6d Mon Sep 17 00:00:00 2001 From: Rinde van Lon Date: Mon, 20 Mar 2023 16:35:52 +0000 Subject: [PATCH] remove impls for borrowed types --- src/lib.rs | 37 ------------------------------------- 1 file changed, 37 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 5d1acc4..812e2a2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -683,12 +683,6 @@ impl TryFrom for Time { } } -impl From<&Duration> for f64 { - fn from(num: &Duration) -> Self { - num.0 as f64 - } -} - impl From for f64 { fn from(num: Duration) -> Self { num.0 as f64 @@ -751,18 +745,6 @@ impl Sub