File tree 6 files changed +11
-13
lines changed
6 files changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -168,8 +168,6 @@ pub trait Write {
168
168
/// This method should generally not be invoked manually, but rather through
169
169
/// the [`write!`] macro itself.
170
170
///
171
- /// [`write!`]: ../../std/macro.write.html
172
- ///
173
171
/// # Examples
174
172
///
175
173
/// ```
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ pub trait DoubleEndedIterator: Iterator {
149
149
/// This is the reverse version of [`try_fold()`]: it takes elements
150
150
/// starting from the back of the iterator.
151
151
///
152
- /// [`try_fold()`]: trait. Iterator.html#method. try_fold
152
+ /// [`try_fold()`]: Iterator:: try_fold
153
153
///
154
154
/// # Examples
155
155
///
@@ -214,7 +214,7 @@ pub trait DoubleEndedIterator: Iterator {
214
214
/// Folding is useful whenever you have a collection of something, and want
215
215
/// to produce a single value from it.
216
216
///
217
- /// [`fold()`]: trait. Iterator.html#method. fold
217
+ /// [`fold()`]: Iterator:: fold
218
218
///
219
219
/// # Examples
220
220
///
Original file line number Diff line number Diff line change @@ -2713,7 +2713,7 @@ pub trait Iterator {
2713
2713
/// This is useful when you have an iterator over `&T`, but you need an
2714
2714
/// iterator over `T`.
2715
2715
///
2716
- /// [`clone`]: crate::clone:: Clone::clone
2716
+ /// [`clone`]: Clone::clone
2717
2717
///
2718
2718
/// # Examples
2719
2719
///
Original file line number Diff line number Diff line change @@ -3219,7 +3219,7 @@ pub unsafe trait SliceIndex<T: ?Sized>: private_slice_index::Sealed {
3219
3219
/// Calling this method with an out-of-bounds index or a dangling `slice` pointer
3220
3220
/// is *[undefined behavior]* even if the resulting reference is not used.
3221
3221
///
3222
- /// [undefined behavior]: ../.. /reference/behavior-considered-undefined.html
3222
+ /// [undefined behavior]: https://doc.rust-lang.org /reference/behavior-considered-undefined.html
3223
3223
#[ unstable( feature = "slice_index_methods" , issue = "none" ) ]
3224
3224
unsafe fn get_unchecked ( self , slice : * const T ) -> * const Self :: Output ;
3225
3225
@@ -3228,7 +3228,7 @@ pub unsafe trait SliceIndex<T: ?Sized>: private_slice_index::Sealed {
3228
3228
/// Calling this method with an out-of-bounds index or a dangling `slice` pointer
3229
3229
/// is *[undefined behavior]* even if the resulting reference is not used.
3230
3230
///
3231
- /// [undefined behavior]: ../.. /reference/behavior-considered-undefined.html
3231
+ /// [undefined behavior]: https://doc.rust-lang.org /reference/behavior-considered-undefined.html
3232
3232
#[ unstable( feature = "slice_index_methods" , issue = "none" ) ]
3233
3233
unsafe fn get_unchecked_mut ( self , slice : * mut T ) -> * mut Self :: Output ;
3234
3234
Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ pub trait MetadataExt {
196
196
fn st_atime ( & self ) -> i64 ;
197
197
/// Returns the last access time of the file, in nanoseconds since [`st_atime`].
198
198
///
199
- /// [`st_atime`]: #tymethod. st_atime
199
+ /// [`st_atime`]: Self:: st_atime
200
200
///
201
201
/// # Examples
202
202
///
@@ -232,7 +232,7 @@ pub trait MetadataExt {
232
232
fn st_mtime ( & self ) -> i64 ;
233
233
/// Returns the last modification time of the file, in nanoseconds since [`st_mtime`].
234
234
///
235
- /// [`st_mtime`]: #tymethod. st_mtime
235
+ /// [`st_mtime`]: Self:: st_mtime
236
236
///
237
237
/// # Examples
238
238
///
@@ -268,7 +268,7 @@ pub trait MetadataExt {
268
268
fn st_ctime ( & self ) -> i64 ;
269
269
/// Returns the last status change time of the file, in nanoseconds since [`st_ctime`].
270
270
///
271
- /// [`st_ctime`]: #tymethod. st_ctime
271
+ /// [`st_ctime`]: Self:: st_ctime
272
272
///
273
273
/// # Examples
274
274
///
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ pub trait MetadataExt {
200
200
fn st_atime ( & self ) -> i64 ;
201
201
/// Returns the last access time of the file, in nanoseconds since [`st_atime`].
202
202
///
203
- /// [`st_atime`]: #tymethod. st_atime
203
+ /// [`st_atime`]: Self:: st_atime
204
204
///
205
205
/// # Examples
206
206
///
@@ -236,7 +236,7 @@ pub trait MetadataExt {
236
236
fn st_mtime ( & self ) -> i64 ;
237
237
/// Returns the last modification time of the file, in nanoseconds since [`st_mtime`].
238
238
///
239
- /// [`st_mtime`]: #tymethod. st_mtime
239
+ /// [`st_mtime`]: Self:: st_mtime
240
240
///
241
241
/// # Examples
242
242
///
@@ -272,7 +272,7 @@ pub trait MetadataExt {
272
272
fn st_ctime ( & self ) -> i64 ;
273
273
/// Returns the last status change time of the file, in nanoseconds since [`st_ctime`].
274
274
///
275
- /// [`st_ctime`]: #tymethod. st_ctime
275
+ /// [`st_ctime`]: Self:: st_ctime
276
276
///
277
277
/// # Examples
278
278
///
You can’t perform that action at this time.
0 commit comments