Skip to content

Commit fe9f5d5

Browse files
Add link to symlink_metadata in fs::Metadata doc
1 parent e8f2e2b commit fe9f5d5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/libstd/fs.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,12 @@ pub struct File {
8989

9090
/// Metadata information about a file.
9191
///
92-
/// This structure is returned from the [`metadata`] function or method and
93-
/// represents known metadata about a file such as its permissions, size,
94-
/// modification times, etc.
92+
/// This structure is returned from the [`metadata`] or [`symlink_metadata`]
93+
/// functions or methods and represents known metadata about a file such as
94+
/// its permissions, size, modification times, etc.
9595
///
9696
/// [`metadata`]: fn.metadata.html
97+
/// [`symlink_metadata`]: fn.symlink_metadata.html
9798
#[stable(feature = "rust1", since = "1.0.0")]
9899
#[derive(Clone)]
99100
pub struct Metadata(fs_imp::FileAttr);

0 commit comments

Comments
 (0)