apply clippy fixes
This commit is contained in:
committed by
Dustin J. Mitchell
parent
88333ac785
commit
f1e1095c0a
@@ -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))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user