File tree Expand file tree Collapse file tree 6 files changed +11
-13
lines changed Expand file tree Collapse file tree 6 files changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -168,8 +168,6 @@ pub trait Write {
168168 /// This method should generally not be invoked manually, but rather through
169169 /// the [`write!`] macro itself.
170170 ///
171- /// [`write!`]: ../../std/macro.write.html
172- ///
173171 /// # Examples
174172 ///
175173 /// ```
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ pub trait DoubleEndedIterator: Iterator {
149149 /// This is the reverse version of [`try_fold()`]: it takes elements
150150 /// starting from the back of the iterator.
151151 ///
152- /// [`try_fold()`]: trait. Iterator.html#method. try_fold
152+ /// [`try_fold()`]: Iterator:: try_fold
153153 ///
154154 /// # Examples
155155 ///
@@ -214,7 +214,7 @@ pub trait DoubleEndedIterator: Iterator {
214214 /// Folding is useful whenever you have a collection of something, and want
215215 /// to produce a single value from it.
216216 ///
217- /// [`fold()`]: trait. Iterator.html#method. fold
217+ /// [`fold()`]: Iterator:: fold
218218 ///
219219 /// # Examples
220220 ///
Original file line number Diff line number Diff line change @@ -2713,7 +2713,7 @@ pub trait Iterator {
27132713 /// This is useful when you have an iterator over `&T`, but you need an
27142714 /// iterator over `T`.
27152715 ///
2716- /// [`clone`]: crate::clone:: Clone::clone
2716+ /// [`clone`]: Clone::clone
27172717 ///
27182718 /// # Examples
27192719 ///
Original file line number Diff line number Diff line change @@ -3219,7 +3219,7 @@ pub unsafe trait SliceIndex<T: ?Sized>: private_slice_index::Sealed {
32193219 /// Calling this method with an out-of-bounds index or a dangling `slice` pointer
32203220 /// is *[undefined behavior]* even if the resulting reference is not used.
32213221 ///
3222- /// [undefined behavior]: ../.. /reference/behavior-considered-undefined.html
3222+ /// [undefined behavior]: https://doc.rust-lang.org /reference/behavior-considered-undefined.html
32233223 #[ unstable( feature = "slice_index_methods" , issue = "none" ) ]
32243224 unsafe fn get_unchecked ( self , slice : * const T ) -> * const Self :: Output ;
32253225
@@ -3228,7 +3228,7 @@ pub unsafe trait SliceIndex<T: ?Sized>: private_slice_index::Sealed {
32283228 /// Calling this method with an out-of-bounds index or a dangling `slice` pointer
32293229 /// is *[undefined behavior]* even if the resulting reference is not used.
32303230 ///
3231- /// [undefined behavior]: ../.. /reference/behavior-considered-undefined.html
3231+ /// [undefined behavior]: https://doc.rust-lang.org /reference/behavior-considered-undefined.html
32323232 #[ unstable( feature = "slice_index_methods" , issue = "none" ) ]
32333233 unsafe fn get_unchecked_mut ( self , slice : * mut T ) -> * mut Self :: Output ;
32343234
Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ pub trait MetadataExt {
196196 fn st_atime ( & self ) -> i64 ;
197197 /// Returns the last access time of the file, in nanoseconds since [`st_atime`].
198198 ///
199- /// [`st_atime`]: #tymethod. st_atime
199+ /// [`st_atime`]: Self:: st_atime
200200 ///
201201 /// # Examples
202202 ///
@@ -232,7 +232,7 @@ pub trait MetadataExt {
232232 fn st_mtime ( & self ) -> i64 ;
233233 /// Returns the last modification time of the file, in nanoseconds since [`st_mtime`].
234234 ///
235- /// [`st_mtime`]: #tymethod. st_mtime
235+ /// [`st_mtime`]: Self:: st_mtime
236236 ///
237237 /// # Examples
238238 ///
@@ -268,7 +268,7 @@ pub trait MetadataExt {
268268 fn st_ctime ( & self ) -> i64 ;
269269 /// Returns the last status change time of the file, in nanoseconds since [`st_ctime`].
270270 ///
271- /// [`st_ctime`]: #tymethod. st_ctime
271+ /// [`st_ctime`]: Self:: st_ctime
272272 ///
273273 /// # Examples
274274 ///
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ pub trait MetadataExt {
200200 fn st_atime ( & self ) -> i64 ;
201201 /// Returns the last access time of the file, in nanoseconds since [`st_atime`].
202202 ///
203- /// [`st_atime`]: #tymethod. st_atime
203+ /// [`st_atime`]: Self:: st_atime
204204 ///
205205 /// # Examples
206206 ///
@@ -236,7 +236,7 @@ pub trait MetadataExt {
236236 fn st_mtime ( & self ) -> i64 ;
237237 /// Returns the last modification time of the file, in nanoseconds since [`st_mtime`].
238238 ///
239- /// [`st_mtime`]: #tymethod. st_mtime
239+ /// [`st_mtime`]: Self:: st_mtime
240240 ///
241241 /// # Examples
242242 ///
@@ -272,7 +272,7 @@ pub trait MetadataExt {
272272 fn st_ctime ( & self ) -> i64 ;
273273 /// Returns the last status change time of the file, in nanoseconds since [`st_ctime`].
274274 ///
275- /// [`st_ctime`]: #tymethod. st_ctime
275+ /// [`st_ctime`]: Self:: st_ctime
276276 ///
277277 /// # Examples
278278 ///
You can’t perform that action at this time.
0 commit comments