Skip to content

Commit

Permalink
Semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
Rudi3 committed Sep 22, 2023
1 parent c8dfc48 commit 490873a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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> {
Expand All @@ -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> {
Expand Down

0 comments on commit 490873a

Please sign in to comment.