about summary refs log tree commit diff
path: root/library/std/src/os/linux
diff options
context:
space:
mode:
authorPrabakaran Kumaresshan <4676330+nixphix@users.noreply.github.com>2020-08-11 13:56:07 +0530
committerPrabakaran Kumaresshan <4676330+nixphix@users.noreply.github.com>2020-08-11 15:20:01 +0530
commit29045b699ebaa2b9f90b7186c735c642d939e9cf (patch)
tree6283f2f9ab81a7530ac2104e65af4653b0b0e885 /library/std/src/os/linux
parent4c336d46263999cce87de899220d7b92d11f1c85 (diff)
Switch to intra-doc links in library/std/src/os/*/fs.rs
Diffstat (limited to 'library/std/src/os/linux')
-rw-r--r--library/std/src/os/linux/fs.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/std/src/os/linux/fs.rs b/library/std/src/os/linux/fs.rs
index 657737394ab..1314f3eeb97 100644
--- a/library/std/src/os/linux/fs.rs
+++ b/library/std/src/os/linux/fs.rs
@@ -8,7 +8,7 @@ use crate::os::linux::raw;
 
 /// OS-specific extensions to [`fs::Metadata`].
 ///
-/// [`fs::Metadata`]: ../../../../std/fs/struct.Metadata.html
+/// [`fs::Metadata`]: crate::fs::Metadata
 #[stable(feature = "metadata_ext", since = "1.1.0")]
 pub trait MetadataExt {
     /// Gain a reference to the underlying `stat` structure which contains
@@ -18,7 +18,7 @@ pub trait MetadataExt {
     /// Unix platforms. The `os::unix::fs::MetadataExt` trait contains the
     /// cross-Unix abstractions contained within the raw stat.
     ///
-    /// [`stat`]: ../../../../std/os/linux/raw/struct.stat.html
+    /// [`stat`]: crate::os::linux::raw::stat
     ///
     /// # Examples
     ///
@@ -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`]: #tymethod.st_atime
+    /// [`st_atime`]: Metadata::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`]: #tymethod.st_mtime
+    /// [`st_mtime`]: Metadata::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`]: #tymethod.st_ctime
+    /// [`st_ctime`]: Metadata::st_ctime
     ///
     /// # Examples
     ///