aboutsummaryrefslogtreecommitdiffstats
path: root/src/date.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/date.rs')
-rw-r--r--src/date.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/date.rs b/src/date.rs
index 8083da8..1170702 100644
--- a/src/date.rs
+++ b/src/date.rs
@@ -49,6 +49,7 @@ impl DateTime {
.as_secs()
}
+ #[allow(clippy::blocks_in_conditions)]
pub fn relative_to(&self, other: &Self) -> String {
let a = self.unix();
let b = other.unix();