diff --git a/src/value.rs b/src/value.rs index e5d38ea9b..67922c670 100644 --- a/src/value.rs +++ b/src/value.rs @@ -1221,7 +1221,7 @@ impl Value { #[cfg(all(feature = "postgres-interval", feature = "with-chrono"))] impl Value { pub fn is_chrono_duration(&self) -> bool { - matches!(self, Self::ChronoDuration(_)); + matches!(self, Self::ChronoDuration(_)) } pub fn as_ref_chrono_duration(&self) -> Option<&Duration> { @@ -1235,7 +1235,7 @@ impl Value { #[cfg(all(feature = "postgres-interval", feature = "with-time"))] impl Value { pub fn is_time_duration(&self) -> bool { - matches!(self, Self::TimeDuration(_)); + matches!(self, Self::TimeDuration(_)) } pub fn as_ref_time_duration(&self) -> Option<&time::Duration> {