mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
chore: run cargo +nightly clippy --fix
This commit is contained in:
parent
c3218740dc
commit
fdd6a05259
9 changed files with 31 additions and 31 deletions
|
@ -621,7 +621,7 @@ fn test_mv_update_option() {
|
|||
at.touch(file_b);
|
||||
let ts = time::OffsetDateTime::now_local().unwrap();
|
||||
let now = FileTime::from_unix_time(ts.unix_timestamp(), ts.nanosecond());
|
||||
let later = FileTime::from_unix_time(ts.unix_timestamp() as i64 + 3600, ts.nanosecond() as u32);
|
||||
let later = FileTime::from_unix_time(ts.unix_timestamp() + 3600, ts.nanosecond());
|
||||
filetime::set_file_times(at.plus_as_string(file_a), now, now).unwrap();
|
||||
filetime::set_file_times(at.plus_as_string(file_b), now, later).unwrap();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue