From 32fccc445a06cf42305c1a364ac6ace3bfb7dac7 Mon Sep 17 00:00:00 2001 From: Prabakaran Kumaresshan <4676330+nixphix@users.noreply.github.com> Date: Tue, 11 Aug 2020 19:50:17 +0530 Subject: Revert #tymethods --- library/std/src/os/linux/fs.rs | 6 +++--- library/std/src/os/redox/fs.rs | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'library/std/src/os') diff --git a/library/std/src/os/linux/fs.rs b/library/std/src/os/linux/fs.rs index 1314f3eeb97..cae65f12187 100644 --- a/library/std/src/os/linux/fs.rs +++ b/library/std/src/os/linux/fs.rs @@ -196,7 +196,7 @@ pub trait MetadataExt { fn st_atime(&self) -> i64; /// Returns the last access time of the file, in nanoseconds since [`st_atime`]. /// - /// [`st_atime`]: Metadata::st_atime + /// [`st_atime`]: #tymethod.st_atime /// /// # Examples /// @@ -232,7 +232,7 @@ pub trait MetadataExt { fn st_mtime(&self) -> i64; /// Returns the last modification time of the file, in nanoseconds since [`st_mtime`]. /// - /// [`st_mtime`]: Metadata::st_mtime + /// [`st_mtime`]: #tymethod.st_mtime /// /// # Examples /// @@ -268,7 +268,7 @@ pub trait MetadataExt { fn st_ctime(&self) -> i64; /// Returns the last status change time of the file, in nanoseconds since [`st_ctime`]. /// - /// [`st_ctime`]: Metadata::st_ctime + /// [`st_ctime`]: #tymethod.st_ctime /// /// # Examples /// diff --git a/library/std/src/os/redox/fs.rs b/library/std/src/os/redox/fs.rs index 22e1500b113..94d65651daa 100644 --- a/library/std/src/os/redox/fs.rs +++ b/library/std/src/os/redox/fs.rs @@ -200,7 +200,7 @@ pub trait MetadataExt { fn st_atime(&self) -> i64; /// Returns the last access time of the file, in nanoseconds since [`st_atime`]. /// - /// [`st_atime`]: Metadata::st_atime + /// [`st_atime`]: #tymethod.st_atime /// /// # Examples /// @@ -236,7 +236,7 @@ pub trait MetadataExt { fn st_mtime(&self) -> i64; /// Returns the last modification time of the file, in nanoseconds since [`st_mtime`]. /// - /// [`st_mtime`]: Metadata::st_mtime + /// [`st_mtime`]: #tymethod.st_mtime /// /// # Examples /// @@ -272,7 +272,7 @@ pub trait MetadataExt { fn st_ctime(&self) -> i64; /// Returns the last status change time of the file, in nanoseconds since [`st_ctime`]. /// - /// [`st_ctime`]: Metadata::st_ctime + /// [`st_ctime`]: #tymethod.st_ctime /// /// # Examples /// -- cgit 1.4.1-3-g733a5