mirror of
https://github.com/uutils/coreutils.git
synced 2025-12-23 08:47:37 +00:00
rm: replace #[cfg(not(windows))] with #[cfg(unix)]
This commit is contained in:
parent
f9b6e36d54
commit
c47a4e6eaf
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ use std::ffi::{OsStr, OsString};
|
|||
use std::fs::{self, Metadata};
|
||||
use std::io::{IsTerminal, stdin};
|
||||
use std::ops::BitOr;
|
||||
#[cfg(not(windows))]
|
||||
#[cfg(unix)]
|
||||
use std::os::unix::ffi::OsStrExt;
|
||||
#[cfg(unix)]
|
||||
use std::os::unix::fs::PermissionsExt;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue