lint: fix unused_imports of util.rs

This commit is contained in:
Krysztal112233 2024-03-23 17:02:32 +08:00
parent 1484d06887
commit 6f5dfa3c46
No known key found for this signature in database
GPG key ID: 331615739A596A02

View file

@ -1016,7 +1016,7 @@ impl AtPath {
pub fn relative_symlink_file(&self, original: &str, link: &str) {
#[cfg(windows)]
let original = original.replace('/', std::path::MAIN_SEPARATOR_STR);
let original = original.replace('/', MAIN_SEPARATOR_STR);
log_info(
"symlink",
format!("{},{}", &original, &self.plus_as_string(link)),
@ -1038,7 +1038,7 @@ impl AtPath {
pub fn relative_symlink_dir(&self, original: &str, link: &str) {
#[cfg(windows)]
let original = original.replace('/', std::path::MAIN_SEPARATOR_STR);
let original = original.replace('/', MAIN_SEPARATOR_STR);
log_info(
"symlink",
format!("{},{}", &original, &self.plus_as_string(link)),