1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-27 19:17:43 +00:00

lint: fix unused_imports on freebsd target.

This commit is contained in:
Krysztal112233 2024-03-23 17:23:22 +08:00
parent a61761f090
commit 29d14cba51
No known key found for this signature in database
GPG key ID: 331615739A596A02

View file

@ -5,7 +5,9 @@
// spell-checker:ignore (formats) cymdhm cymdhms mdhm mdhms ymdhm ymdhms datetime mktime
use crate::common::util::{AtPath, TestScenario};
use filetime::{set_symlink_file_times, FileTime};
#[cfg(not(target_os = "freebsd"))]
use filetime::set_symlink_file_times;
use filetime::FileTime;
use std::fs::remove_file;
use std::path::PathBuf;