mirror of
https://github.com/uutils/coreutils
synced 2024-11-15 09:27:21 +00:00
lint: fix unused_imports
of util.rs
This commit is contained in:
parent
1484d06887
commit
6f5dfa3c46
1 changed files with 2 additions and 2 deletions
|
@ -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)),
|
||||
|
|
Loading…
Reference in a new issue