no_run
and ignore
doc attributes
This commit is contained in:
parent
f3c1db311c
commit
01435fc83a
@ -1011,7 +1011,8 @@ pub fn is_file(&self) -> bool {
|
|||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
/// ```no_run
|
#[cfg_attr(unix, doc = "```no_run")]
|
||||||
|
#[cfg_attr(not(unix), doc = "```ignore")]
|
||||||
/// #![feature(is_symlink)]
|
/// #![feature(is_symlink)]
|
||||||
/// use std::fs;
|
/// use std::fs;
|
||||||
/// use std::path::Path;
|
/// use std::path::Path;
|
||||||
|
@ -2578,7 +2578,8 @@ pub fn is_dir(&self) -> bool {
|
|||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
/// ```no_run
|
#[cfg_attr(unix, doc = "```no_run")]
|
||||||
|
#[cfg_attr(not(unix), doc = "```ignore")]
|
||||||
/// #![feature(is_symlink)]
|
/// #![feature(is_symlink)]
|
||||||
/// use std::path::Path;
|
/// use std::path::Path;
|
||||||
/// use std::os::unix::fs::symlink;
|
/// use std::os::unix::fs::symlink;
|
||||||
|
Loading…
Reference in New Issue
Block a user