Skip to content

Commit 32fccc4

Browse files
committed
Revert #tymethods
1 parent 29045b6 commit 32fccc4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

library/std/src/os/linux/fs.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -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`]: Metadata::st_atime
199+
/// [`st_atime`]: #tymethod.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`]: Metadata::st_mtime
235+
/// [`st_mtime`]: #tymethod.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`]: Metadata::st_ctime
271+
/// [`st_ctime`]: #tymethod.st_ctime
272272
///
273273
/// # Examples
274274
///

library/std/src/os/redox/fs.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ pub trait MetadataExt {
200200
fn st_atime(&self) -> i64;
201201
/// Returns the last access time of the file, in nanoseconds since [`st_atime`].
202202
///
203-
/// [`st_atime`]: Metadata::st_atime
203+
/// [`st_atime`]: #tymethod.st_atime
204204
///
205205
/// # Examples
206206
///
@@ -236,7 +236,7 @@ pub trait MetadataExt {
236236
fn st_mtime(&self) -> i64;
237237
/// Returns the last modification time of the file, in nanoseconds since [`st_mtime`].
238238
///
239-
/// [`st_mtime`]: Metadata::st_mtime
239+
/// [`st_mtime`]: #tymethod.st_mtime
240240
///
241241
/// # Examples
242242
///
@@ -272,7 +272,7 @@ pub trait MetadataExt {
272272
fn st_ctime(&self) -> i64;
273273
/// Returns the last status change time of the file, in nanoseconds since [`st_ctime`].
274274
///
275-
/// [`st_ctime`]: Metadata::st_ctime
275+
/// [`st_ctime`]: #tymethod.st_ctime
276276
///
277277
/// # Examples
278278
///

0 commit comments

Comments
 (0)