@@ -404,7 +404,7 @@ impl<R: Try> LoopState<R::Ok, R> {
404404/// [`rev`]: trait.Iterator.html#method.rev
405405/// [`Iterator`]: trait.Iterator.html
406406#[ derive( Clone , Debug ) ]
407- #[ must_use = "iterator adaptors are lazy and do nothing unless consumed" ]
407+ #[ must_use = "iterators are lazy and do nothing unless consumed" ]
408408#[ stable( feature = "rust1" , since = "1.0.0" ) ]
409409pub struct Rev < T > {
410410 iter : T
@@ -505,7 +505,7 @@ unsafe impl<I> TrustedLen for Rev<I>
505505/// [`copied`]: trait.Iterator.html#method.copied
506506/// [`Iterator`]: trait.Iterator.html
507507#[ unstable( feature = "iter_copied" , issue = "57127" ) ]
508- #[ must_use = "iterator adaptors are lazy and do nothing unless consumed" ]
508+ #[ must_use = "iterators are lazy and do nothing unless consumed" ]
509509#[ derive( Clone , Debug ) ]
510510pub struct Copied < I > {
511511 it : I ,
@@ -605,7 +605,7 @@ unsafe impl<'a, I, T: 'a> TrustedLen for Copied<I>
605605/// [`cloned`]: trait.Iterator.html#method.cloned
606606/// [`Iterator`]: trait.Iterator.html
607607#[ stable( feature = "iter_cloned" , since = "1.1.0" ) ]
608- #[ must_use = "iterator adaptors are lazy and do nothing unless consumed" ]
608+ #[ must_use = "iterators are lazy and do nothing unless consumed" ]
609609#[ derive( Clone , Debug ) ]
610610pub struct Cloned < I > {
611611 it : I ,
@@ -717,7 +717,7 @@ unsafe impl<'a, I, T: 'a> TrustedLen for Cloned<I>
717717/// [`cycle`]: trait.Iterator.html#method.cycle
718718/// [`Iterator`]: trait.Iterator.html
719719#[ derive( Clone , Debug ) ]
720- #[ must_use = "iterator adaptors are lazy and do nothing unless consumed" ]
720+ #[ must_use = "iterators are lazy and do nothing unless consumed" ]
721721#[ stable( feature = "rust1" , since = "1.0.0" ) ]
722722pub struct Cycle < I > {
723723 orig : I ,
@@ -757,7 +757,7 @@ impl<I> FusedIterator for Cycle<I> where I: Clone + Iterator {}
757757///
758758/// [`step_by`]: trait.Iterator.html#method.step_by
759759/// [`Iterator`]: trait.Iterator.html
760- #[ must_use = "iterator adaptors are lazy and do nothing unless consumed" ]
760+ #[ must_use = "iterators are lazy and do nothing unless consumed" ]
761761#[ stable( feature = "iterator_step_by" , since = "1.28.0" ) ]
762762#[ derive( Clone , Debug ) ]
763763pub struct StepBy < I > {
@@ -849,7 +849,7 @@ impl<I> ExactSizeIterator for StepBy<I> where I: ExactSizeIterator {}
849849/// [`chain`]: trait.Iterator.html#method.chain
850850/// [`Iterator`]: trait.Iterator.html
851851#[ derive( Clone , Debug ) ]
852- #[ must_use = "iterator adaptors are lazy and do nothing unless consumed" ]
852+ #[ must_use = "iterators are lazy and do nothing unless consumed" ]
853853#[ stable( feature = "rust1" , since = "1.0.0" ) ]
854854pub struct Chain < A , B > {
855855 a : A ,
@@ -1100,7 +1100,7 @@ unsafe impl<A, B> TrustedLen for Chain<A, B>
11001100/// [`zip`]: trait.Iterator.html#method.zip
11011101/// [`Iterator`]: trait.Iterator.html
11021102#[ derive( Clone , Debug ) ]
1103- #[ must_use = "iterator adaptors are lazy and do nothing unless consumed" ]
1103+ #[ must_use = "iterators are lazy and do nothing unless consumed" ]
11041104#[ stable( feature = "rust1" , since = "1.0.0" ) ]
11051105pub struct Zip < A , B > {
11061106 a : A ,
@@ -1400,7 +1400,7 @@ unsafe impl<A, B> TrustedLen for Zip<A, B>
14001400/// println!("{:?}", pair);
14011401/// }
14021402/// ```
1403- #[ must_use = "iterator adaptors are lazy and do nothing unless consumed" ]
1403+ #[ must_use = "iterators are lazy and do nothing unless consumed" ]
14041404#[ stable( feature = "rust1" , since = "1.0.0" ) ]
14051405#[ derive( Clone ) ]
14061406pub struct Map < I , F > {
@@ -1511,7 +1511,7 @@ unsafe impl<B, I, F> TrustedRandomAccess for Map<I, F>
15111511///
15121512/// [`filter`]: trait.Iterator.html#method.filter
15131513/// [`Iterator`]: trait.Iterator.html
1514- #[ must_use = "iterator adaptors are lazy and do nothing unless consumed" ]
1514+ #[ must_use = "iterators are lazy and do nothing unless consumed" ]
15151515#[ stable( feature = "rust1" , since = "1.0.0" ) ]
15161516#[ derive( Clone ) ]
15171517pub struct Filter < I , P > {
@@ -1643,7 +1643,7 @@ impl<I: FusedIterator, P> FusedIterator for Filter<I, P>
16431643///
16441644/// [`filter_map`]: trait.Iterator.html#method.filter_map
16451645/// [`Iterator`]: trait.Iterator.html
1646- #[ must_use = "iterator adaptors are lazy and do nothing unless consumed" ]
1646+ #[ must_use = "iterators are lazy and do nothing unless consumed" ]
16471647#[ stable( feature = "rust1" , since = "1.0.0" ) ]
16481648#[ derive( Clone ) ]
16491649pub struct FilterMap < I , F > {
@@ -1754,7 +1754,7 @@ impl<B, I: FusedIterator, F> FusedIterator for FilterMap<I, F>
17541754/// [`enumerate`]: trait.Iterator.html#method.enumerate
17551755/// [`Iterator`]: trait.Iterator.html
17561756#[ derive( Clone , Debug ) ]
1757- #[ must_use = "iterator adaptors are lazy and do nothing unless consumed" ]
1757+ #[ must_use = "iterators are lazy and do nothing unless consumed" ]
17581758#[ stable( feature = "rust1" , since = "1.0.0" ) ]
17591759pub struct Enumerate < I > {
17601760 iter : I ,
@@ -1915,7 +1915,7 @@ unsafe impl<I> TrustedLen for Enumerate<I>
19151915/// [`peekable`]: trait.Iterator.html#method.peekable
19161916/// [`Iterator`]: trait.Iterator.html
19171917#[ derive( Clone , Debug ) ]
1918- #[ must_use = "iterator adaptors are lazy and do nothing unless consumed" ]
1918+ #[ must_use = "iterators are lazy and do nothing unless consumed" ]
19191919#[ stable( feature = "rust1" , since = "1.0.0" ) ]
19201920pub struct Peekable < I : Iterator > {
19211921 iter : I ,
@@ -2066,7 +2066,7 @@ impl<I: Iterator> Peekable<I> {
20662066///
20672067/// [`skip_while`]: trait.Iterator.html#method.skip_while
20682068/// [`Iterator`]: trait.Iterator.html
2069- #[ must_use = "iterator adaptors are lazy and do nothing unless consumed" ]
2069+ #[ must_use = "iterators are lazy and do nothing unless consumed" ]
20702070#[ stable( feature = "rust1" , since = "1.0.0" ) ]
20712071#[ derive( Clone ) ]
20722072pub struct SkipWhile < I , P > {
@@ -2149,7 +2149,7 @@ impl<I, P> FusedIterator for SkipWhile<I, P>
21492149///
21502150/// [`take_while`]: trait.Iterator.html#method.take_while
21512151/// [`Iterator`]: trait.Iterator.html
2152- #[ must_use = "iterator adaptors are lazy and do nothing unless consumed" ]
2152+ #[ must_use = "iterators are lazy and do nothing unless consumed" ]
21532153#[ stable( feature = "rust1" , since = "1.0.0" ) ]
21542154#[ derive( Clone ) ]
21552155pub struct TakeWhile < I , P > {
@@ -2233,7 +2233,7 @@ impl<I, P> FusedIterator for TakeWhile<I, P>
22332233/// [`skip`]: trait.Iterator.html#method.skip
22342234/// [`Iterator`]: trait.Iterator.html
22352235#[ derive( Clone , Debug ) ]
2236- #[ must_use = "iterator adaptors are lazy and do nothing unless consumed" ]
2236+ #[ must_use = "iterators are lazy and do nothing unless consumed" ]
22372237#[ stable( feature = "rust1" , since = "1.0.0" ) ]
22382238pub struct Skip < I > {
22392239 iter : I ,
@@ -2371,7 +2371,7 @@ impl<I> FusedIterator for Skip<I> where I: FusedIterator {}
23712371/// [`take`]: trait.Iterator.html#method.take
23722372/// [`Iterator`]: trait.Iterator.html
23732373#[ derive( Clone , Debug ) ]
2374- #[ must_use = "iterator adaptors are lazy and do nothing unless consumed" ]
2374+ #[ must_use = "iterators are lazy and do nothing unless consumed" ]
23752375#[ stable( feature = "rust1" , since = "1.0.0" ) ]
23762376pub struct Take < I > {
23772377 iter : I ,
@@ -2458,7 +2458,7 @@ unsafe impl<I: TrustedLen> TrustedLen for Take<I> {}
24582458///
24592459/// [`scan`]: trait.Iterator.html#method.scan
24602460/// [`Iterator`]: trait.Iterator.html
2461- #[ must_use = "iterator adaptors are lazy and do nothing unless consumed" ]
2461+ #[ must_use = "iterators are lazy and do nothing unless consumed" ]
24622462#[ stable( feature = "rust1" , since = "1.0.0" ) ]
24632463#[ derive( Clone ) ]
24642464pub struct Scan < I , St , F > {
@@ -2518,7 +2518,7 @@ impl<B, I, St, F> Iterator for Scan<I, St, F> where
25182518///
25192519/// [`flat_map`]: trait.Iterator.html#method.flat_map
25202520/// [`Iterator`]: trait.Iterator.html
2521- #[ must_use = "iterator adaptors are lazy and do nothing unless consumed" ]
2521+ #[ must_use = "iterators are lazy and do nothing unless consumed" ]
25222522#[ stable( feature = "rust1" , since = "1.0.0" ) ]
25232523pub struct FlatMap < I , U : IntoIterator , F > {
25242524 inner : FlattenCompat < Map < I , F > , <U as IntoIterator >:: IntoIter >
@@ -2603,7 +2603,7 @@ impl<I, U, F> FusedIterator for FlatMap<I, U, F>
26032603///
26042604/// [`flatten`]: trait.Iterator.html#method.flatten
26052605/// [`Iterator`]: trait.Iterator.html
2606- #[ must_use = "iterator adaptors are lazy and do nothing unless consumed" ]
2606+ #[ must_use = "iterators are lazy and do nothing unless consumed" ]
26072607#[ stable( feature = "iterator_flatten" , since = "1.29.0" ) ]
26082608pub struct Flatten < I : Iterator >
26092609where I :: Item : IntoIterator {
@@ -2832,7 +2832,7 @@ impl<I, U> DoubleEndedIterator for FlattenCompat<I, U>
28322832/// [`fuse`]: trait.Iterator.html#method.fuse
28332833/// [`Iterator`]: trait.Iterator.html
28342834#[ derive( Clone , Debug ) ]
2835- #[ must_use = "iterator adaptors are lazy and do nothing unless consumed" ]
2835+ #[ must_use = "iterators are lazy and do nothing unless consumed" ]
28362836#[ stable( feature = "rust1" , since = "1.0.0" ) ]
28372837pub struct Fuse < I > {
28382838 iter : I ,
@@ -3056,7 +3056,7 @@ impl<I> ExactSizeIterator for Fuse<I> where I: ExactSizeIterator {
30563056///
30573057/// [`inspect`]: trait.Iterator.html#method.inspect
30583058/// [`Iterator`]: trait.Iterator.html
3059- #[ must_use = "iterator adaptors are lazy and do nothing unless consumed" ]
3059+ #[ must_use = "iterators are lazy and do nothing unless consumed" ]
30603060#[ stable( feature = "rust1" , since = "1.0.0" ) ]
30613061#[ derive( Clone ) ]
30623062pub struct Inspect < I , F > {
0 commit comments