mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
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 🙂
This commit is contained in:
+2
-1
@@ -195,9 +195,10 @@ pub struct File {
|
||||
/// 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);
|
||||
|
||||
Reference in New Issue
Block a user