[doc] Add a reference from PathExt to fs::metadata
This commit is contained in:
parent
84b1e08486
commit
b0e3fe9247
1 changed files with 3 additions and 2 deletions
|
@ -1177,8 +1177,9 @@ impl Iterator for WalkDir {
|
||||||
|
|
||||||
/// Utility methods for paths.
|
/// Utility methods for paths.
|
||||||
#[unstable(feature = "path_ext",
|
#[unstable(feature = "path_ext",
|
||||||
reason = "the precise set of methods exposed on this trait may \
|
reason = "The precise set of methods exposed on this trait may \
|
||||||
change and some methods may be removed")]
|
change and some methods may be removed. For stable code, \
|
||||||
|
see the std::fs::metadata function.")]
|
||||||
pub trait PathExt {
|
pub trait PathExt {
|
||||||
/// Gets information on the file, directory, etc at this path.
|
/// Gets information on the file, directory, etc at this path.
|
||||||
///
|
///
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue