Skip to content

Commit 29045b6

Browse files
committed
Switch to intra-doc links in library/std/src/os/*/fs.rs
1 parent 4c336d4 commit 29045b6

File tree

15 files changed

+23
-23
lines changed

15 files changed

+23
-23
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use crate::os::android::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")]
1313
pub trait MetadataExt {
1414
/// Gain a reference to the underlying `stat` structure which contains

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use crate::os::dragonfly::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")]
1313
pub trait MetadataExt {
1414
/// Gain a reference to the underlying `stat` structure which contains

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use crate::os::emscripten::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")]
1313
pub trait MetadataExt {
1414
/// Gain a reference to the underlying `stat` structure which contains

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use crate::os::freebsd::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")]
1313
pub trait MetadataExt {
1414
/// Gain a reference to the underlying `stat` structure which contains

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use crate::sys_common::AsInner;
55

66
/// OS-specific extensions to [`fs::Metadata`].
77
///
8-
/// [`fs::Metadata`]: ../../../../std/fs/struct.Metadata.html
8+
/// [`fs::Metadata`]: crate::fs::Metadata
99
#[stable(feature = "metadata_ext", since = "1.1.0")]
1010
pub trait MetadataExt {
1111
#[stable(feature = "metadata_ext2", since = "1.8.0")]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use crate::os::haiku::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")]
1313
pub trait MetadataExt {
1414
/// Gain a reference to the underlying `stat` structure which contains

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use crate::os::illumos::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")]
1313
pub trait MetadataExt {
1414
/// Gain a reference to the underlying `stat` structure which contains

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use crate::os::ios::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")]
1313
pub trait MetadataExt {
1414
/// Gain a reference to the underlying `stat` structure which contains

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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")]
1313
pub 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
///

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use crate::os::macos::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")]
1313
pub trait MetadataExt {
1414
/// Gain a reference to the underlying `stat` structure which contains

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use crate::os::netbsd::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")]
1313
pub trait MetadataExt {
1414
/// Gain a reference to the underlying `stat` structure which contains

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use crate::os::openbsd::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")]
1313
pub trait MetadataExt {
1414
/// Gain a reference to the underlying `stat` structure which contains

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use crate::os::redox::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")]
1313
pub 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/redox/raw/struct.stat.html
21+
/// [`stat`]: crate::os::redox::raw::stat
2222
///
2323
/// # Examples
2424
///
@@ -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`]: #tymethod.st_atime
203+
/// [`st_atime`]: Metadata::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`]: #tymethod.st_mtime
239+
/// [`st_mtime`]: Metadata::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`]: #tymethod.st_ctime
275+
/// [`st_ctime`]: Metadata::st_ctime
276276
///
277277
/// # Examples
278278
///

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use crate::os::solaris::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")]
1313
pub trait MetadataExt {
1414
/// Gain a reference to the underlying `stat` structure which contains

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use crate::fs::Metadata;
44
use crate::sys_common::AsInner;
55

66
///
7-
/// [`fs::Metadata`]: ../../../../std/fs/struct.Metadata.html
7+
/// [`fs::Metadata`]: crate::fs::Metadata
88
#[stable(feature = "metadata_ext", since = "1.1.0")]
99
pub trait MetadataExt {
1010
#[stable(feature = "metadata_ext2", since = "1.8.0")]

0 commit comments

Comments
 (0)