提交 38364271 编写于 作者: C Christiaan Dirkx

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

上级 17b60b87
......@@ -601,7 +601,7 @@ pub fn to_str(&self) -> Option<&str> {
/// // sequences simply through collecting user command line arguments, for
/// // example.
///
/// #[cfg(any(unix, target_os = "redox"))] {
/// #[cfg(unix)] {
/// use std::ffi::OsStr;
/// use std::os::unix::ffi::OsStrExt;
///
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册