diff --git a/src/time/cds.rs b/src/time/cds.rs index 9c40a46..9b7eb94 100644 --- a/src/time/cds.rs +++ b/src/time/cds.rs @@ -11,8 +11,6 @@ use core::fmt::{Debug, Display, Formatter}; use core::ops::{Add, AddAssign}; use core::time::Duration; -use delegate::delegate; - #[cfg(feature = "std")] use super::StdTimestampError; #[cfg(feature = "std")] @@ -316,7 +314,7 @@ impl CdsCommon for ConversionFromChronoDatetime { self.submillis_prec } - delegate! { + delegate::delegate! { to self.unix_conversion { #[inline] fn ms_of_day(&self) -> u32; @@ -333,7 +331,7 @@ impl CdsCommon for ConversionFromChronoDatetime { #[cfg(feature = "chrono")] impl CdsConverter for ConversionFromChronoDatetime { - delegate! {to self.unix_conversion { + delegate::delegate! {to self.unix_conversion { #[inline] fn unix_days_seconds(&self) -> i64; }} @@ -451,7 +449,7 @@ impl CdsCommon for ConversionFromNow { fn submillis_precision(&self) -> SubmillisPrecision { self.submillis_prec } - delegate! { + delegate::delegate! { to self.unix_conversion { fn ms_of_day(&self) -> u32; fn ccsds_days_as_u32(&self) -> u32; @@ -465,7 +463,7 @@ impl CdsCommon for ConversionFromNow { #[cfg(feature = "std")] impl CdsConverter for ConversionFromNow { - delegate! {to self.unix_conversion { fn unix_days_seconds(&self) -> i64; }} + delegate::delegate! {to self.unix_conversion { fn unix_days_seconds(&self) -> i64; }} } #[cfg(feature = "alloc")]