We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
no_run
ignore
1 parent f3c1db3 commit 01435fcCopy full SHA for 01435fc
library/std/src/fs.rs
@@ -1011,7 +1011,8 @@ impl Metadata {
1011
///
1012
/// # Examples
1013
1014
- /// ```no_run
+ #[cfg_attr(unix, doc = "```no_run")]
1015
+ #[cfg_attr(not(unix), doc = "```ignore")]
1016
/// #![feature(is_symlink)]
1017
/// use std::fs;
1018
/// use std::path::Path;
library/std/src/path.rs
@@ -2578,7 +2578,8 @@ impl Path {
2578
2579
2580
2581
2582
2583
2584
2585
/// use std::os::unix::fs::symlink;
0 commit comments