@@ -404,7 +404,7 @@ impl<R: Try> LoopState<R::Ok, R> {
404
404
/// [`rev`]: trait.Iterator.html#method.rev
405
405
/// [`Iterator`]: trait.Iterator.html
406
406
#[ 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" ]
408
408
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
409
409
pub struct Rev < T > {
410
410
iter : T
@@ -505,7 +505,7 @@ unsafe impl<I> TrustedLen for Rev<I>
505
505
/// [`copied`]: trait.Iterator.html#method.copied
506
506
/// [`Iterator`]: trait.Iterator.html
507
507
#[ 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" ]
509
509
#[ derive( Clone , Debug ) ]
510
510
pub struct Copied < I > {
511
511
it : I ,
@@ -605,7 +605,7 @@ unsafe impl<'a, I, T: 'a> TrustedLen for Copied<I>
605
605
/// [`cloned`]: trait.Iterator.html#method.cloned
606
606
/// [`Iterator`]: trait.Iterator.html
607
607
#[ 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" ]
609
609
#[ derive( Clone , Debug ) ]
610
610
pub struct Cloned < I > {
611
611
it : I ,
@@ -717,7 +717,7 @@ unsafe impl<'a, I, T: 'a> TrustedLen for Cloned<I>
717
717
/// [`cycle`]: trait.Iterator.html#method.cycle
718
718
/// [`Iterator`]: trait.Iterator.html
719
719
#[ 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" ]
721
721
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
722
722
pub struct Cycle < I > {
723
723
orig : I ,
@@ -757,7 +757,7 @@ impl<I> FusedIterator for Cycle<I> where I: Clone + Iterator {}
757
757
///
758
758
/// [`step_by`]: trait.Iterator.html#method.step_by
759
759
/// [`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" ]
761
761
#[ stable( feature = "iterator_step_by" , since = "1.28.0" ) ]
762
762
#[ derive( Clone , Debug ) ]
763
763
pub struct StepBy < I > {
@@ -849,7 +849,7 @@ impl<I> ExactSizeIterator for StepBy<I> where I: ExactSizeIterator {}
849
849
/// [`chain`]: trait.Iterator.html#method.chain
850
850
/// [`Iterator`]: trait.Iterator.html
851
851
#[ 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" ]
853
853
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
854
854
pub struct Chain < A , B > {
855
855
a : A ,
@@ -1100,7 +1100,7 @@ unsafe impl<A, B> TrustedLen for Chain<A, B>
1100
1100
/// [`zip`]: trait.Iterator.html#method.zip
1101
1101
/// [`Iterator`]: trait.Iterator.html
1102
1102
#[ 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" ]
1104
1104
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1105
1105
pub struct Zip < A , B > {
1106
1106
a : A ,
@@ -1400,7 +1400,7 @@ unsafe impl<A, B> TrustedLen for Zip<A, B>
1400
1400
/// println!("{:?}", pair);
1401
1401
/// }
1402
1402
/// ```
1403
- #[ must_use = "iterator adaptors are lazy and do nothing unless consumed" ]
1403
+ #[ must_use = "iterators are lazy and do nothing unless consumed" ]
1404
1404
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1405
1405
#[ derive( Clone ) ]
1406
1406
pub struct Map < I , F > {
@@ -1511,7 +1511,7 @@ unsafe impl<B, I, F> TrustedRandomAccess for Map<I, F>
1511
1511
///
1512
1512
/// [`filter`]: trait.Iterator.html#method.filter
1513
1513
/// [`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" ]
1515
1515
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1516
1516
#[ derive( Clone ) ]
1517
1517
pub struct Filter < I , P > {
@@ -1643,7 +1643,7 @@ impl<I: FusedIterator, P> FusedIterator for Filter<I, P>
1643
1643
///
1644
1644
/// [`filter_map`]: trait.Iterator.html#method.filter_map
1645
1645
/// [`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" ]
1647
1647
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1648
1648
#[ derive( Clone ) ]
1649
1649
pub struct FilterMap < I , F > {
@@ -1754,7 +1754,7 @@ impl<B, I: FusedIterator, F> FusedIterator for FilterMap<I, F>
1754
1754
/// [`enumerate`]: trait.Iterator.html#method.enumerate
1755
1755
/// [`Iterator`]: trait.Iterator.html
1756
1756
#[ 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" ]
1758
1758
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1759
1759
pub struct Enumerate < I > {
1760
1760
iter : I ,
@@ -1915,7 +1915,7 @@ unsafe impl<I> TrustedLen for Enumerate<I>
1915
1915
/// [`peekable`]: trait.Iterator.html#method.peekable
1916
1916
/// [`Iterator`]: trait.Iterator.html
1917
1917
#[ 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" ]
1919
1919
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1920
1920
pub struct Peekable < I : Iterator > {
1921
1921
iter : I ,
@@ -2066,7 +2066,7 @@ impl<I: Iterator> Peekable<I> {
2066
2066
///
2067
2067
/// [`skip_while`]: trait.Iterator.html#method.skip_while
2068
2068
/// [`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" ]
2070
2070
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
2071
2071
#[ derive( Clone ) ]
2072
2072
pub struct SkipWhile < I , P > {
@@ -2149,7 +2149,7 @@ impl<I, P> FusedIterator for SkipWhile<I, P>
2149
2149
///
2150
2150
/// [`take_while`]: trait.Iterator.html#method.take_while
2151
2151
/// [`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" ]
2153
2153
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
2154
2154
#[ derive( Clone ) ]
2155
2155
pub struct TakeWhile < I , P > {
@@ -2233,7 +2233,7 @@ impl<I, P> FusedIterator for TakeWhile<I, P>
2233
2233
/// [`skip`]: trait.Iterator.html#method.skip
2234
2234
/// [`Iterator`]: trait.Iterator.html
2235
2235
#[ 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" ]
2237
2237
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
2238
2238
pub struct Skip < I > {
2239
2239
iter : I ,
@@ -2371,7 +2371,7 @@ impl<I> FusedIterator for Skip<I> where I: FusedIterator {}
2371
2371
/// [`take`]: trait.Iterator.html#method.take
2372
2372
/// [`Iterator`]: trait.Iterator.html
2373
2373
#[ 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" ]
2375
2375
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
2376
2376
pub struct Take < I > {
2377
2377
iter : I ,
@@ -2458,7 +2458,7 @@ unsafe impl<I: TrustedLen> TrustedLen for Take<I> {}
2458
2458
///
2459
2459
/// [`scan`]: trait.Iterator.html#method.scan
2460
2460
/// [`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" ]
2462
2462
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
2463
2463
#[ derive( Clone ) ]
2464
2464
pub struct Scan < I , St , F > {
@@ -2518,7 +2518,7 @@ impl<B, I, St, F> Iterator for Scan<I, St, F> where
2518
2518
///
2519
2519
/// [`flat_map`]: trait.Iterator.html#method.flat_map
2520
2520
/// [`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" ]
2522
2522
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
2523
2523
pub struct FlatMap < I , U : IntoIterator , F > {
2524
2524
inner : FlattenCompat < Map < I , F > , <U as IntoIterator >:: IntoIter >
@@ -2603,7 +2603,7 @@ impl<I, U, F> FusedIterator for FlatMap<I, U, F>
2603
2603
///
2604
2604
/// [`flatten`]: trait.Iterator.html#method.flatten
2605
2605
/// [`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" ]
2607
2607
#[ stable( feature = "iterator_flatten" , since = "1.29.0" ) ]
2608
2608
pub struct Flatten < I : Iterator >
2609
2609
where I :: Item : IntoIterator {
@@ -2832,7 +2832,7 @@ impl<I, U> DoubleEndedIterator for FlattenCompat<I, U>
2832
2832
/// [`fuse`]: trait.Iterator.html#method.fuse
2833
2833
/// [`Iterator`]: trait.Iterator.html
2834
2834
#[ 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" ]
2836
2836
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
2837
2837
pub struct Fuse < I > {
2838
2838
iter : I ,
@@ -3056,7 +3056,7 @@ impl<I> ExactSizeIterator for Fuse<I> where I: ExactSizeIterator {
3056
3056
///
3057
3057
/// [`inspect`]: trait.Iterator.html#method.inspect
3058
3058
/// [`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" ]
3060
3060
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
3061
3061
#[ derive( Clone ) ]
3062
3062
pub struct Inspect < I , F > {
0 commit comments