Fix docs for MacOs (correction)

This commit is contained in:
LinkTed 2020-11-03 18:28:04 +01:00
parent ea5e012ba7
commit c779405686

View File

@ -364,7 +364,8 @@ impl UnixStream {
/// ///
/// # Examples /// # Examples
/// ///
/// ```no_run #[cfg_attr(any(target_os = "android", target_os = "linux"), doc = "```no_run")]
#[cfg_attr(not(any(target_os = "android", target_os = "linux")), doc = "```ignore")]
/// #![feature(unix_socket_ancillary_data)] /// #![feature(unix_socket_ancillary_data)]
/// use std::os::unix::net::UnixStream; /// use std::os::unix::net::UnixStream;
/// ///