From 490873a697c9536fe34425bda44d05b9678352db Mon Sep 17 00:00:00 2001 From: Rudi3 <5439317+Rudi3@users.noreply.github.com> Date: Fri, 22 Sep 2023 17:18:26 +0200 Subject: [PATCH] Semicolon --- src/value.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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> {