1
Fork 0
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:
Niyaz Nigmatullin 2022-11-15 17:57:08 +02:00
parent c3218740dc
commit fdd6a05259
9 changed files with 31 additions and 31 deletions

View file

@ -1085,7 +1085,7 @@ fn test_cp_no_deref_folder_to_folder() {
fn test_cp_archive() {
let (at, mut ucmd) = at_and_ucmd!();
let ts = time::OffsetDateTime::now_local().unwrap();
let previous = FileTime::from_unix_time(ts.unix_timestamp() - 3600, ts.nanosecond() as u32);
let previous = FileTime::from_unix_time(ts.unix_timestamp() - 3600, ts.nanosecond());
// set the file creation/modification an hour ago
filetime::set_file_times(
at.plus_as_string(TEST_HELLO_WORLD_SOURCE),