apply clippy fixes

This commit is contained in:
Dustin J. Mitchell
2022-12-23 18:56:58 +00:00
committed by Dustin J. Mitchell
parent 88333ac785
commit f1e1095c0a
6 changed files with 32 additions and 32 deletions

View File

@@ -23,7 +23,7 @@ impl PassByValue for libc::time_t {
if self == 0 {
None
} else {
Some(Utc.timestamp(self as i64, 0))
Some(Utc.timestamp(self, 0))
}
}