Simplify cfg(any(unix, target_os="redox"))
to just cfg(unix)
This commit is contained in:
parent
17b60b8738
commit
383642714a
1 changed files with 1 additions and 1 deletions
|
@ -601,7 +601,7 @@ impl OsStr {
|
||||||
/// // sequences simply through collecting user command line arguments, for
|
/// // sequences simply through collecting user command line arguments, for
|
||||||
/// // example.
|
/// // example.
|
||||||
///
|
///
|
||||||
/// #[cfg(any(unix, target_os = "redox"))] {
|
/// #[cfg(unix)] {
|
||||||
/// use std::ffi::OsStr;
|
/// use std::ffi::OsStr;
|
||||||
/// use std::os::unix::ffi::OsStrExt;
|
/// use std::os::unix::ffi::OsStrExt;
|
||||||
///
|
///
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue