@@ -8,7 +8,7 @@ use crate::os::linux::raw;
88
99/// OS-specific extensions to [`fs::Metadata`].
1010///
11- /// [`fs::Metadata`]: ../../../../std/fs/struct. Metadata.html
11+ /// [`fs::Metadata`]: crate::fs:: Metadata
1212#[ stable( feature = "metadata_ext" , since = "1.1.0" ) ]
1313pub trait MetadataExt {
1414 /// Gain a reference to the underlying `stat` structure which contains
@@ -18,7 +18,7 @@ pub trait MetadataExt {
1818 /// Unix platforms. The `os::unix::fs::MetadataExt` trait contains the
1919 /// cross-Unix abstractions contained within the raw stat.
2020 ///
21- /// [`stat`]: ../../../../std/os/ linux/ raw/struct. stat.html
21+ /// [`stat`]: crate::os:: linux:: raw:: stat
2222 ///
2323 /// # Examples
2424 ///
@@ -196,7 +196,7 @@ pub trait MetadataExt {
196196 fn st_atime ( & self ) -> i64 ;
197197 /// Returns the last access time of the file, in nanoseconds since [`st_atime`].
198198 ///
199- /// [`st_atime`]: #tymethod. st_atime
199+ /// [`st_atime`]: Metadata:: st_atime
200200 ///
201201 /// # Examples
202202 ///
@@ -232,7 +232,7 @@ pub trait MetadataExt {
232232 fn st_mtime ( & self ) -> i64 ;
233233 /// Returns the last modification time of the file, in nanoseconds since [`st_mtime`].
234234 ///
235- /// [`st_mtime`]: #tymethod. st_mtime
235+ /// [`st_mtime`]: Metadata:: st_mtime
236236 ///
237237 /// # Examples
238238 ///
@@ -268,7 +268,7 @@ pub trait MetadataExt {
268268 fn st_ctime ( & self ) -> i64 ;
269269 /// Returns the last status change time of the file, in nanoseconds since [`st_ctime`].
270270 ///
271- /// [`st_ctime`]: #tymethod. st_ctime
271+ /// [`st_ctime`]: Metadata:: st_ctime
272272 ///
273273 /// # Examples
274274 ///
0 commit comments