File tree 1 file changed +2
-6
lines changed
library/std/src/sys/vxworks/ext
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,7 @@ use crate::sys;
7
7
use crate :: sys:: platform:: fs:: MetadataExt as UnixMetadataExt ;
8
8
use crate :: sys_common:: { AsInner , AsInnerMut , FromInner } ;
9
9
10
- /// Unix-specific extensions to [`File`].
11
- ///
12
- /// [`File`]: fs::File
10
+ /// Unix-specific extensions to [`fs::File`].
13
11
#[ stable( feature = "file_offset" , since = "1.15.0" ) ]
14
12
pub trait FileExt {
15
13
/// Reads a number of bytes starting from a given offset.
@@ -644,12 +642,10 @@ impl MetadataExt for fs::Metadata {
644
642
}
645
643
}
646
644
647
- /// Unix-specific extensions for [`FileType`].
645
+ /// Unix-specific extensions for [`fs:: FileType`].
648
646
///
649
647
/// Adds support for special Unix file types such as block/character devices,
650
648
/// pipes, and sockets.
651
- ///
652
- /// [`FileType`]: fs::FileType
653
649
#[ stable( feature = "file_type_ext" , since = "1.5.0" ) ]
654
650
pub trait FileTypeExt {
655
651
/// Returns whether this file type is a block device.
You can’t perform that action at this time.
0 commit comments