diff options
| author | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2018-04-09 17:44:28 -0700 |
|---|---|---|
| committer | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2018-04-14 15:32:24 -0700 |
| commit | 182d99cfd1a551b9daa3d7f6896775278fb2962e (patch) | |
| tree | cb50b487919a1d7e4048d6f79c20a16e7177efc8 /src/libstd/os/openbsd/fs.rs | |
| parent | 21dae950bebab7376d2bcb92299861e6cd05299d (diff) | |
| download | rust-182d99cfd1a551b9daa3d7f6896775278fb2962e.tar.gz rust-182d99cfd1a551b9daa3d7f6896775278fb2962e.zip | |
Add doc links to `std::os` extension traits
Add documentation links to the original type for various OS-specific extension traits and normalize the language for introducing such traits. Also, remove some outdated comments around the extension trait definitions.
Diffstat (limited to 'src/libstd/os/openbsd/fs.rs')
| -rw-r--r-- | src/libstd/os/openbsd/fs.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstd/os/openbsd/fs.rs b/src/libstd/os/openbsd/fs.rs index cc812fcf12c..0f6b83b6e32 100644 --- a/src/libstd/os/openbsd/fs.rs +++ b/src/libstd/os/openbsd/fs.rs @@ -18,7 +18,9 @@ use sys_common::AsInner; #[allow(deprecated)] use os::openbsd::raw; -/// OS-specific extension methods for `fs::Metadata` +/// OS-specific extensions to [`fs::Metadata`]. +/// +/// [`fs::Metadata`]: ../../../../std/fs/struct.Metadata.html #[stable(feature = "metadata_ext", since = "1.1.0")] pub trait MetadataExt { /// Gain a reference to the underlying `stat` structure which contains |
