Add link to symlink_metadata in fs::Metadata doc

This commit is contained in:
Jack Vickeridge 2017-01-19 23:59:29 +00:00
parent e8f2e2b521
commit fe9f5d52a6

View file

@ -89,11 +89,12 @@ pub struct File {
/// Metadata information about a file.
///
/// This structure is returned from the [`metadata`] function or method and
/// represents known metadata about a file such as its permissions, size,
/// modification times, etc.
/// This structure is returned from the [`metadata`] or [`symlink_metadata`]
/// functions or methods and represents known metadata about a file such as
/// its permissions, size, modification times, etc.
///
/// [`metadata`]: fn.metadata.html
/// [`symlink_metadata`]: fn.symlink_metadata.html
#[stable(feature = "rust1", since = "1.0.0")]
#[derive(Clone)]
pub struct Metadata(fs_imp::FileAttr);