Skip to content

Commit ead7185

Browse files
committed
Fix docs for MacOs (again)
1 parent c779405 commit ead7185

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,8 @@ impl UnixDatagram {
746746
///
747747
/// # Examples
748748
///
749-
/// ```no_run
749+
#[cfg_attr(any(target_os = "android", target_os = "linux"), doc = "```no_run")]
750+
#[cfg_attr(not(any(target_os = "android", target_os = "linux")), doc = "```ignore")]
750751
/// #![feature(unix_socket_ancillary_data)]
751752
/// use std::os::unix::net::UnixDatagram;
752753
///

0 commit comments

Comments
 (0)