1
Fork 0

Simplify cfg(any(unix, target_os="redox")) to just cfg(unix)

This commit is contained in:
Christiaan Dirkx 2021-05-17 13:49:14 +02:00
parent 17b60b8738
commit 383642714a

View file

@ -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;
/// ///