Skip to content

Commit 6922e6e

Browse files
committed
Fix lint casting to the same type is unnecessary
1 parent 8dd40c6 commit 6922e6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ fn time_ok(time: u64) -> bool {
3838
let now = SystemTime::now()
3939
.duration_since(UNIX_EPOCH)
4040
.unwrap()
41-
.as_secs() as u64;
41+
.as_secs();
4242
now >= time
4343
}
4444

0 commit comments

Comments
 (0)