aboutsummaryrefslogtreecommitdiffstats
path: root/src/date.rs
diff options
context:
space:
mode:
authorJonas Maier <>2026-03-10 18:03:39 +0100
committerJonas Maier <>2026-03-10 18:03:39 +0100
commit1361e3088224860b143755e9fe1f1d7ce033e476 (patch)
tree2aaa89f1e20001b2cedd4055f24a30fcdff127d5 /src/date.rs
parentff3ac68d159869d57e2cc190236d08c64e00b867 (diff)
downloadpish-1361e3088224860b143755e9fe1f1d7ce033e476.tar.gz
clippy
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();