File tree 7 files changed +23
-23
lines changed
7 files changed +23
-23
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ use mem;
17
17
use sys:: os_str:: Buf ;
18
18
use sys_common:: { FromInner , IntoInner , AsInner } ;
19
19
20
- /// Redox-specific extensions to [`ffi:: OsString`].
20
+ /// Redox-specific extensions to [`OsString`].
21
21
///
22
- /// [`ffi:: OsString`]: ../../../../std/ffi/struct.OsString.html
22
+ /// [`OsString`]: ../../../../std/ffi/struct.OsString.html
23
23
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
24
24
pub trait OsStringExt {
25
25
/// Creates an `OsString` from a byte vector.
@@ -41,9 +41,9 @@ impl OsStringExt for OsString {
41
41
}
42
42
}
43
43
44
- /// Redox-specific extensions to [`ffi:: OsStr`].
44
+ /// Redox-specific extensions to [`OsStr`].
45
45
///
46
- /// [`ffi:: OsStr`]: ../../../../std/ffi/struct.OsStr.html
46
+ /// [`OsStr`]: ../../../../std/ffi/struct.OsStr.html
47
47
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
48
48
pub trait OsStrExt {
49
49
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
Original file line number Diff line number Diff line change @@ -260,12 +260,12 @@ impl MetadataExt for fs::Metadata {
260
260
}
261
261
}
262
262
263
- /// Redox-specific extensions for [`fs:: FileType`].
263
+ /// Redox-specific extensions for [`FileType`].
264
264
///
265
265
/// Adds support for special Unix file types such as block/character devices,
266
266
/// pipes, and sockets.
267
267
///
268
- /// [`fs:: FileType`]: ../../../../std/fs/struct.FileType.html
268
+ /// [`FileType`]: ../../../../std/fs/struct.FileType.html
269
269
#[ stable( feature = "file_type_ext" , since = "1.5.0" ) ]
270
270
pub trait FileTypeExt {
271
271
/// Returns whether this file type is a block device.
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ use process;
18
18
use sys;
19
19
use sys_common:: { AsInnerMut , AsInner , FromInner , IntoInner } ;
20
20
21
- /// Redox-specific extensions to the [`process::Command`] builder.
21
+ /// Redox-specific extensions to the [`process::Command`] builder,
22
22
///
23
23
/// [`process::Command`]: ../../../../std/process/struct.Command.html
24
24
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ use mem;
17
17
use sys:: os_str:: Buf ;
18
18
use sys_common:: { FromInner , IntoInner , AsInner } ;
19
19
20
- /// Unix-specific extensions to [`ffi:: OsString`].
20
+ /// Unix-specific extensions to [`OsString`].
21
21
///
22
- /// [`ffi:: OsString`]: ../../../../std/ffi/struct.OsString.html
22
+ /// [`OsString`]: ../../../../std/ffi/struct.OsString.html
23
23
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
24
24
pub trait OsStringExt {
25
25
/// Creates an [`OsString`] from a byte vector.
@@ -68,9 +68,9 @@ impl OsStringExt for OsString {
68
68
}
69
69
}
70
70
71
- /// Unix-specific extensions to [`ffi:: OsStr`].
71
+ /// Unix-specific extensions to [`OsStr`].
72
72
///
73
- /// [`ffi:: OsStr`]: ../../../../std/ffi/struct.OsStr.html
73
+ /// [`OsStr`]: ../../../../std/ffi/struct.OsStr.html
74
74
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
75
75
pub trait OsStrExt {
76
76
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
Original file line number Diff line number Diff line change @@ -20,9 +20,9 @@ use sys;
20
20
use sys_common:: { FromInner , AsInner , AsInnerMut } ;
21
21
use sys:: platform:: fs:: MetadataExt as UnixMetadataExt ;
22
22
23
- /// Unix-specific extensions to [`fs:: File`].
23
+ /// Unix-specific extensions to [`File`].
24
24
///
25
- /// [`fs:: File`]: ../../../../std/fs/struct.File.html
25
+ /// [`File`]: ../../../../std/fs/struct.File.html
26
26
#[ stable( feature = "file_offset" , since = "1.15.0" ) ]
27
27
pub trait FileExt {
28
28
/// Reads a number of bytes starting from a given offset.
@@ -555,12 +555,12 @@ impl MetadataExt for fs::Metadata {
555
555
fn blocks ( & self ) -> u64 { self . st_blocks ( ) }
556
556
}
557
557
558
- /// Unix-specific extensions for [`fs:: FileType`].
558
+ /// Unix-specific extensions for [`FileType`].
559
559
///
560
560
/// Adds support for special Unix file types such as block/character devices,
561
561
/// pipes, and sockets.
562
562
///
563
- /// [`fs:: FileType`]: ../../../../std/fs/struct.FileType.html
563
+ /// [`FileType`]: ../../../../std/fs/struct.FileType.html
564
564
#[ stable( feature = "file_type_ext" , since = "1.5.0" ) ]
565
565
pub trait FileTypeExt {
566
566
/// Returns whether this file type is a block device.
Original file line number Diff line number Diff line change @@ -76,9 +76,9 @@ use sys_common::{FromInner, AsInner};
76
76
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
77
77
pub use sys_common:: wtf8:: EncodeWide ;
78
78
79
- /// Windows-specific extensions to [`ffi:: OsString`].
79
+ /// Windows-specific extensions to [`OsString`].
80
80
///
81
- /// [`ffi:: OsString`]: ../../../../std/ffi/struct.OsString.html
81
+ /// [`OsString`]: ../../../../std/ffi/struct.OsString.html
82
82
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
83
83
pub trait OsStringExt {
84
84
/// Creates an `OsString` from a potentially ill-formed UTF-16 slice of
@@ -111,9 +111,9 @@ impl OsStringExt for OsString {
111
111
}
112
112
}
113
113
114
- /// Windows-specific extensions to [`ffi:: OsStr`].
114
+ /// Windows-specific extensions to [`OsStr`].
115
115
///
116
- /// [`ffi:: OsStr`]: ../../../../std/ffi/struct.OsStr.html
116
+ /// [`OsStr`]: ../../../../std/ffi/struct.OsStr.html
117
117
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
118
118
pub trait OsStrExt {
119
119
/// Re-encodes an `OsStr` as a wide character sequence, i.e. potentially
Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ use path::Path;
18
18
use sys;
19
19
use sys_common:: { AsInnerMut , AsInner } ;
20
20
21
- /// Windows-specific extensions to [`fs:: File`].
21
+ /// Windows-specific extensions to [`File`].
22
22
///
23
- /// [`fs:: File`]: ../../../fs/struct.File.html
23
+ /// [`File`]: ../../../fs/struct.File.html
24
24
#[ stable( feature = "file_offset" , since = "1.15.0" ) ]
25
25
pub trait FileExt {
26
26
/// Seeks to a given position and reads a number of bytes.
@@ -444,11 +444,11 @@ impl MetadataExt for Metadata {
444
444
fn file_size ( & self ) -> u64 { self . as_inner ( ) . size ( ) }
445
445
}
446
446
447
- /// Windows-specific extensions to [`fs:: FileType`].
447
+ /// Windows-specific extensions to [`FileType`].
448
448
///
449
449
/// On Windows, a symbolic link knows whether it is a file or directory.
450
450
///
451
- /// [`fs:: FileType`]: ../../../../std/fs/struct.FileType.html
451
+ /// [`FileType`]: ../../../../std/fs/struct.FileType.html
452
452
#[ unstable( feature = "windows_file_type_ext" , issue = "0" ) ]
453
453
pub trait FileTypeExt {
454
454
/// Returns whether this file type is a symbolic link that is also a directory.
You can’t perform that action at this time.
0 commit comments