Skip to content

Commit 3836427

Browse files
committed
Simplify cfg(any(unix, target_os="redox")) to just cfg(unix)
1 parent 17b60b8 commit 3836427

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/ffi/os_str.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ impl OsStr {
601601
/// // sequences simply through collecting user command line arguments, for
602602
/// // example.
603603
///
604-
/// #[cfg(any(unix, target_os = "redox"))] {
604+
/// #[cfg(unix)] {
605605
/// use std::ffi::OsStr;
606606
/// use std::os::unix::ffi::OsStrExt;
607607
///

0 commit comments

Comments
 (0)