Skip to content

Commit c779405

Browse files
committed
Fix docs for MacOs (correction)
1 parent ea5e012 commit c779405

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

library/std/src/sys/unix/ext/net/stream.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,8 @@ impl UnixStream {
364364
///
365365
/// # Examples
366366
///
367-
/// ```no_run
367+
#[cfg_attr(any(target_os = "android", target_os = "linux"), doc = "```no_run")]
368+
#[cfg_attr(not(any(target_os = "android", target_os = "linux")), doc = "```ignore")]
368369
/// #![feature(unix_socket_ancillary_data)]
369370
/// use std::os::unix::net::UnixStream;
370371
///

0 commit comments

Comments
 (0)