From 780371107dd0bc1a880d14f1f4ebe9c5bfe627fd Mon Sep 17 00:00:00 2001 From: Andrea Canciani Date: Fri, 20 Jan 2017 09:31:06 +0100 Subject: [PATCH] Document that `Metadata` can be obtained from `symlink_metadata` --- src/libstd/fs.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/libstd/fs.rs b/src/libstd/fs.rs index 06402cc0e8e..9cff787ced3 100644 --- a/src/libstd/fs.rs +++ b/src/libstd/fs.rs @@ -90,11 +90,13 @@ 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`] function or method 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);