@@ -85,7 +85,7 @@ pub unsafe trait SourceIter {
8585/// * whatever remains in the source after iteration has stopped 
8686/// * the memory that has become unused by advancing a consuming iterator 
8787/// 
88- /// [`next()`]: trait. Iterator.html#method. next 
88+ /// [`next()`]: Iterator:: next 
8989unsafe  fn  as_inner ( & mut  self )  -> & mut  Self :: Source ; 
9090} 
9191
@@ -94,7 +94,7 @@ pub unsafe trait SourceIter {
9494/// This `struct` is created by the [`rev`] method on [`Iterator`]. See its 
9595/// documentation for more. 
9696/// 
97- /// [`rev`]: trait. Iterator.html#method. rev 
97+ /// [`rev`]: Iterator:: rev 
9898/// [`Iterator`]: trait.Iterator.html 
9999#[ derive( Clone ,  Debug ) ]  
100100#[ must_use = "iterators are lazy and do nothing unless consumed" ]  
@@ -228,7 +228,7 @@ unsafe impl<I> TrustedLen for Rev<I> where I: TrustedLen + DoubleEndedIterator {
228228/// This `struct` is created by the [`copied`] method on [`Iterator`]. See its 
229229/// documentation for more. 
230230/// 
231- /// [`copied`]: trait. Iterator.html#method. copied 
231+ /// [`copied`]: Iterator:: copied 
232232/// [`Iterator`]: trait.Iterator.html 
233233#[ stable( feature = "iter_copied" ,  since = "1.36.0" ) ]  
234234#[ must_use = "iterators are lazy and do nothing unless consumed" ]  
@@ -380,7 +380,7 @@ where
380380/// This `struct` is created by the [`cloned`] method on [`Iterator`]. See its 
381381/// documentation for more. 
382382/// 
383- /// [`cloned`]: trait. Iterator.html#method. cloned 
383+ /// [`cloned`]: Iterator:: cloned 
384384/// [`Iterator`]: trait.Iterator.html 
385385#[ stable( feature = "iter_cloned" ,  since = "1.1.0" ) ]  
386386#[ must_use = "iterators are lazy and do nothing unless consumed" ]  
@@ -515,7 +515,7 @@ where
515515/// This `struct` is created by the [`cycle`] method on [`Iterator`]. See its 
516516/// documentation for more. 
517517/// 
518- /// [`cycle`]: trait. Iterator.html#method. cycle 
518+ /// [`cycle`]: Iterator:: cycle 
519519/// [`Iterator`]: trait.Iterator.html 
520520#[ derive( Clone ,  Debug ) ]  
521521#[ must_use = "iterators are lazy and do nothing unless consumed" ]  
@@ -600,7 +600,7 @@ impl<I> FusedIterator for Cycle<I> where I: Clone + Iterator {}
600600/// This `struct` is created by the [`step_by`] method on [`Iterator`]. See 
601601/// its documentation for more. 
602602/// 
603- /// [`step_by`]: trait. Iterator.html#method. step_by 
603+ /// [`step_by`]: Iterator:: step_by 
604604/// [`Iterator`]: trait.Iterator.html 
605605#[ must_use = "iterators are lazy and do nothing unless consumed" ]  
606606#[ stable( feature = "iterator_step_by" ,  since = "1.28.0" ) ]  
@@ -833,7 +833,7 @@ impl<I> ExactSizeIterator for StepBy<I> where I: ExactSizeIterator {}
833833/// This `struct` is created by the [`map`] method on [`Iterator`]. See its 
834834/// documentation for more. 
835835/// 
836- /// [`map`]: trait. Iterator.html#method. map 
836+ /// [`map`]: Iterator:: map 
837837/// [`Iterator`]: trait.Iterator.html 
838838/// 
839839/// # Notes about side effects 
@@ -1042,7 +1042,7 @@ unsafe impl<B, I: InPlaceIterable, F> InPlaceIterable for Map<I, F> where F: FnM
10421042/// This `struct` is created by the [`filter`] method on [`Iterator`]. See its 
10431043/// documentation for more. 
10441044/// 
1045- /// [`filter`]: trait. Iterator.html#method. filter 
1045+ /// [`filter`]: Iterator:: filter 
10461046/// [`Iterator`]: trait.Iterator.html 
10471047#[ must_use = "iterators are lazy and do nothing unless consumed" ]  
10481048#[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
@@ -1191,7 +1191,7 @@ unsafe impl<I: InPlaceIterable, P> InPlaceIterable for Filter<I, P> where P: FnM
11911191/// This `struct` is created by the [`filter_map`] method on [`Iterator`]. See its 
11921192/// documentation for more. 
11931193/// 
1194- /// [`filter_map`]: trait. Iterator.html#method. filter_map 
1194+ /// [`filter_map`]: Iterator:: filter_map 
11951195/// [`Iterator`]: trait.Iterator.html 
11961196#[ must_use = "iterators are lazy and do nothing unless consumed" ]  
11971197#[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
@@ -1338,7 +1338,7 @@ unsafe impl<B, I: InPlaceIterable, F> InPlaceIterable for FilterMap<I, F> where
13381338/// This `struct` is created by the [`enumerate`] method on [`Iterator`]. See its 
13391339/// documentation for more. 
13401340/// 
1341- /// [`enumerate`]: trait. Iterator.html#method. enumerate 
1341+ /// [`enumerate`]: Iterator:: enumerate 
13421342/// [`Iterator`]: trait.Iterator.html 
13431343#[ derive( Clone ,  Debug ) ]  
13441344#[ must_use = "iterators are lazy and do nothing unless consumed" ]  
@@ -1574,7 +1574,7 @@ unsafe impl<I: InPlaceIterable> InPlaceIterable for Enumerate<I> {}
15741574/// This `struct` is created by the [`peekable`] method on [`Iterator`]. See its 
15751575/// documentation for more. 
15761576/// 
1577- /// [`peekable`]: trait. Iterator.html#method. peekable 
1577+ /// [`peekable`]: Iterator:: peekable 
15781578/// [`Iterator`]: trait.Iterator.html 
15791579#[ derive( Clone ,  Debug ) ]  
15801580#[ must_use = "iterators are lazy and do nothing unless consumed" ]  
@@ -1743,7 +1743,7 @@ impl<I: Iterator> Peekable<I> {
17431743/// Like [`next`], if there is a value, it is wrapped in a `Some(T)`. 
17441744/// But if the iteration is over, `None` is returned. 
17451745/// 
1746- /// [`next`]: trait. Iterator.html#tymethod. next 
1746+ /// [`next`]: Iterator:: next 
17471747/// 
17481748/// Because `peek()` returns a reference, and many iterators iterate over 
17491749/// references, there can be a possibly confusing situation where the 
@@ -1871,7 +1871,7 @@ unsafe impl<I: InPlaceIterable> InPlaceIterable for Peekable<I> {}
18711871/// This `struct` is created by the [`skip_while`] method on [`Iterator`]. See its 
18721872/// documentation for more. 
18731873/// 
1874- /// [`skip_while`]: trait. Iterator.html#method. skip_while 
1874+ /// [`skip_while`]: Iterator:: skip_while 
18751875/// [`Iterator`]: trait.Iterator.html 
18761876#[ must_use = "iterators are lazy and do nothing unless consumed" ]  
18771877#[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
@@ -1993,7 +1993,7 @@ unsafe impl<I: InPlaceIterable, F> InPlaceIterable for SkipWhile<I, F> where
19931993/// This `struct` is created by the [`take_while`] method on [`Iterator`]. See its 
19941994/// documentation for more. 
19951995/// 
1996- /// [`take_while`]: trait. Iterator.html#method. take_while 
1996+ /// [`take_while`]: Iterator:: take_while 
19971997/// [`Iterator`]: trait.Iterator.html 
19981998#[ must_use = "iterators are lazy and do nothing unless consumed" ]  
19991999#[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
@@ -2128,7 +2128,7 @@ unsafe impl<I: InPlaceIterable, F> InPlaceIterable for TakeWhile<I, F> where
21282128/// This `struct` is created by the [`map_while`] method on [`Iterator`]. See its 
21292129/// documentation for more. 
21302130/// 
2131- /// [`map_while`]: trait. Iterator.html#method. map_while 
2131+ /// [`map_while`]: Iterator:: map_while 
21322132/// [`Iterator`]: trait.Iterator.html 
21332133#[ must_use = "iterators are lazy and do nothing unless consumed" ]  
21342134#[ unstable( feature = "iter_map_while" ,  reason = "recently added" ,  issue = "68537" ) ]  
@@ -2226,7 +2226,7 @@ unsafe impl<B, I: InPlaceIterable, P> InPlaceIterable for MapWhile<I, P> where
22262226/// This `struct` is created by the [`skip`] method on [`Iterator`]. See its 
22272227/// documentation for more. 
22282228/// 
2229- /// [`skip`]: trait. Iterator.html#method. skip 
2229+ /// [`skip`]: Iterator:: skip 
22302230/// [`Iterator`]: trait.Iterator.html 
22312231#[ derive( Clone ,  Debug ) ]  
22322232#[ must_use = "iterators are lazy and do nothing unless consumed" ]  
@@ -2422,7 +2422,7 @@ unsafe impl<I: InPlaceIterable> InPlaceIterable for Skip<I> {}
24222422/// This `struct` is created by the [`take`] method on [`Iterator`]. See its 
24232423/// documentation for more. 
24242424/// 
2425- /// [`take`]: trait. Iterator.html#method. take 
2425+ /// [`take`]: Iterator:: take 
24262426/// [`Iterator`]: trait.Iterator.html 
24272427#[ derive( Clone ,  Debug ) ]  
24282428#[ must_use = "iterators are lazy and do nothing unless consumed" ]  
@@ -2627,7 +2627,7 @@ unsafe impl<I: TrustedLen> TrustedLen for Take<I> {}
26272627/// This `struct` is created by the [`scan`] method on [`Iterator`]. See its 
26282628/// documentation for more. 
26292629/// 
2630- /// [`scan`]: trait. Iterator.html#method. scan 
2630+ /// [`scan`]: Iterator:: scan 
26312631/// [`Iterator`]: trait.Iterator.html 
26322632#[ must_use = "iterators are lazy and do nothing unless consumed" ]  
26332633#[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
@@ -2735,7 +2735,7 @@ unsafe impl<St, F, B, I: InPlaceIterable> InPlaceIterable for Scan<I, St, F> whe
27352735/// This `struct` is created by the [`inspect`] method on [`Iterator`]. See its 
27362736/// documentation for more. 
27372737/// 
2738- /// [`inspect`]: trait. Iterator.html#method. inspect 
2738+ /// [`inspect`]: Iterator:: inspect 
27392739/// [`Iterator`]: trait.Iterator.html 
27402740#[ must_use = "iterators are lazy and do nothing unless consumed" ]  
27412741#[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
0 commit comments