about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2018-12-15 10:17:43 +0100
committerGitHub <noreply@github.com>2018-12-15 10:17:43 +0100
commitae3882c206d817b7e68efcaa7ed10742f2e101f4 (patch)
tree180850568623df3c73991060d7f2cf60bb0f499d
parenta352dd4dfcf8d71d5d8c9c8532bd0b2dfa66fffa (diff)
parent275deacc4c4befb1d73ae04db88d80edd724a4ed (diff)
downloadrust-ae3882c206d817b7e68efcaa7ed10742f2e101f4.tar.gz
rust-ae3882c206d817b7e68efcaa7ed10742f2e101f4.zip
Rollup merge of #56809 - dbrgn:permissions-ext, r=alexcrichton
Fix docs path to PermissionsExt

Couldn't test the link yet, since I didn't figure out how to build std rustdocs without building the entire compiler itself :slightly_smiling_face:
-rw-r--r--src/libstd/fs.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/fs.rs b/src/libstd/fs.rs
index d581ba1de23..edcfdd9e534 100644
--- a/src/libstd/fs.rs
+++ b/src/libstd/fs.rs
@@ -195,9 +195,10 @@ pub struct OpenOptions(fs_imp::OpenOptions);
 /// This module only currently provides one bit of information, [`readonly`],
 /// which is exposed on all currently supported platforms. Unix-specific
 /// functionality, such as mode bits, is available through the
-/// `os::unix::PermissionsExt` trait.
+/// [`PermissionsExt`] trait.
 ///
 /// [`readonly`]: struct.Permissions.html#method.readonly
+/// [`PermissionsExt`]: ../os/unix/fs/trait.PermissionsExt.html
 #[derive(Clone, PartialEq, Eq, Debug)]
 #[stable(feature = "rust1", since = "1.0.0")]
 pub struct Permissions(fs_imp::FilePermissions);