diff options
| author | jD91mZM2 <me@krake.one> | 2018-06-27 14:52:08 +0200 |
|---|---|---|
| committer | jD91mZM2 <me@krake.one> | 2018-06-27 15:10:00 +0200 |
| commit | 79bf00f4063793b3828001a845f6111d628c3349 (patch) | |
| tree | bda814fe93c7e89adbc05e56520c443bb0c4e477 /src/libstd/sys_common | |
| parent | a4e190546c9aaa06630577adb7310a8674bbac06 (diff) | |
| download | rust-79bf00f4063793b3828001a845f6111d628c3349.tar.gz rust-79bf00f4063793b3828001a845f6111d628c3349.zip | |
Fix tidy checks
Diffstat (limited to 'src/libstd/sys_common')
| -rw-r--r-- | src/libstd/sys_common/mod.rs | 4 | ||||
| -rw-r--r-- | src/libstd/sys_common/unixsocket.rs | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/libstd/sys_common/mod.rs b/src/libstd/sys_common/mod.rs index 7fb273826cc..89f5fd79f40 100644 --- a/src/libstd/sys_common/mod.rs +++ b/src/libstd/sys_common/mod.rs @@ -54,7 +54,9 @@ pub mod util; pub mod wtf8; pub mod bytestring; pub mod process; -pub mod unixsocket; + +#[cfg(any(all(unix, not(target_os = "emscripten")), target_os = "redox"))] +pub(crate) mod unixsocket; cfg_if! { if #[cfg(any(target_os = "cloudabi", target_os = "l4re", target_os = "redox"))] { diff --git a/src/libstd/sys_common/unixsocket.rs b/src/libstd/sys_common/unixsocket.rs index 96037d6c5d9..286e0e9f37f 100644 --- a/src/libstd/sys_common/unixsocket.rs +++ b/src/libstd/sys_common/unixsocket.rs @@ -8,7 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![cfg(any(all(unix, not(target_os = "emscripten")), target_os = "redox"))] #![stable(feature = "unix_socket", since = "1.10.0")] //! Unix-specific networking functionality |
