@@ -2601,10 +2601,10 @@ pub trait Iterator {
26012601        #[ inline]  
26022602        fn  check < T > ( mut  f :  impl  FnMut ( T )  -> bool )  -> impl  FnMut ( ( ) ,  T )  -> ControlFlow < ( ) >  { 
26032603            move  |( ) ,  x| { 
2604-                 if  f ( x)  {  ControlFlow :: CONTINUE  }  else  {  ControlFlow :: BREAK  } 
2604+                 if  f ( x)  {  ControlFlow :: Continue ( ( ) )  }  else  {  ControlFlow :: Break ( ( ) )  } 
26052605            } 
26062606        } 
2607-         self . try_fold ( ( ) ,  check ( f) )  == ControlFlow :: CONTINUE 
2607+         self . try_fold ( ( ) ,  check ( f) )  == ControlFlow :: Continue ( ( ) ) 
26082608    } 
26092609
26102610    /// Tests if any element of the iterator matches a predicate. 
@@ -2654,11 +2654,11 @@ pub trait Iterator {
26542654        #[ inline]  
26552655        fn  check < T > ( mut  f :  impl  FnMut ( T )  -> bool )  -> impl  FnMut ( ( ) ,  T )  -> ControlFlow < ( ) >  { 
26562656            move  |( ) ,  x| { 
2657-                 if  f ( x)  {  ControlFlow :: BREAK  }  else  {  ControlFlow :: CONTINUE  } 
2657+                 if  f ( x)  {  ControlFlow :: Break ( ( ) )  }  else  {  ControlFlow :: Continue ( ( ) )  } 
26582658            } 
26592659        } 
26602660
2661-         self . try_fold ( ( ) ,  check ( f) )  == ControlFlow :: BREAK 
2661+         self . try_fold ( ( ) ,  check ( f) )  == ControlFlow :: Break ( ( ) ) 
26622662    } 
26632663
26642664    /// Searches for an element of an iterator that satisfies a predicate. 
@@ -2717,7 +2717,7 @@ pub trait Iterator {
27172717        #[ inline]  
27182718        fn  check < T > ( mut  predicate :  impl  FnMut ( & T )  -> bool )  -> impl  FnMut ( ( ) ,  T )  -> ControlFlow < T >  { 
27192719            move  |( ) ,  x| { 
2720-                 if  predicate ( & x)  {  ControlFlow :: Break ( x)  }  else  {  ControlFlow :: CONTINUE  } 
2720+                 if  predicate ( & x)  {  ControlFlow :: Break ( x)  }  else  {  ControlFlow :: Continue ( ( ) )  } 
27212721            } 
27222722        } 
27232723
@@ -2749,7 +2749,7 @@ pub trait Iterator {
27492749        fn  check < T ,  B > ( mut  f :  impl  FnMut ( T )  -> Option < B > )  -> impl  FnMut ( ( ) ,  T )  -> ControlFlow < B >  { 
27502750            move  |( ) ,  x| match  f ( x)  { 
27512751                Some ( x)  => ControlFlow :: Break ( x) , 
2752-                 None  => ControlFlow :: CONTINUE , 
2752+                 None  => ControlFlow :: Continue ( ( ) ) , 
27532753            } 
27542754        } 
27552755
@@ -2812,7 +2812,7 @@ pub trait Iterator {
28122812            R :  Residual < Option < I > > , 
28132813        { 
28142814            move  |( ) ,  x| match  f ( & x) . branch ( )  { 
2815-                 ControlFlow :: Continue ( false )  => ControlFlow :: CONTINUE , 
2815+                 ControlFlow :: Continue ( false )  => ControlFlow :: Continue ( ( ) ) , 
28162816                ControlFlow :: Continue ( true )  => ControlFlow :: Break ( Try :: from_output ( Some ( x) ) ) , 
28172817                ControlFlow :: Break ( r)  => ControlFlow :: Break ( FromResidual :: from_residual ( r) ) , 
28182818            } 
@@ -3491,7 +3491,7 @@ pub trait Iterator {
34913491            F :  FnMut ( X ,  Y )  -> Ordering , 
34923492        { 
34933493            move  |x,  y| match  cmp ( x,  y)  { 
3494-                 Ordering :: Equal  => ControlFlow :: CONTINUE , 
3494+                 Ordering :: Equal  => ControlFlow :: Continue ( ( ) ) , 
34953495                non_eq => ControlFlow :: Break ( non_eq) , 
34963496            } 
34973497        } 
@@ -3567,7 +3567,7 @@ pub trait Iterator {
35673567            F :  FnMut ( X ,  Y )  -> Option < Ordering > , 
35683568        { 
35693569            move  |x,  y| match  partial_cmp ( x,  y)  { 
3570-                 Some ( Ordering :: Equal )  => ControlFlow :: CONTINUE , 
3570+                 Some ( Ordering :: Equal )  => ControlFlow :: Continue ( ( ) ) , 
35713571                non_eq => ControlFlow :: Break ( non_eq) , 
35723572            } 
35733573        } 
@@ -3625,7 +3625,7 @@ pub trait Iterator {
36253625            F :  FnMut ( X ,  Y )  -> bool , 
36263626        { 
36273627            move  |x,  y| { 
3628-                 if  eq ( x,  y)  {  ControlFlow :: CONTINUE  }  else  {  ControlFlow :: BREAK  } 
3628+                 if  eq ( x,  y)  {  ControlFlow :: Continue ( ( ) )  }  else  {  ControlFlow :: Break ( ( ) )  } 
36293629            } 
36303630        } 
36313631
@@ -3859,7 +3859,7 @@ pub trait Iterator {
38593859
38603860/// Compares two iterators element-wise using the given function. 
38613861/// 
3862- /// If `ControlFlow::CONTINUE ` is returned from the function, the comparison moves on to the next 
3862+ /// If `ControlFlow::Continue(()) ` is returned from the function, the comparison moves on to the next 
38633863/// elements of both iterators. Returning `ControlFlow::Break(x)` short-circuits the iteration and 
38643864/// returns `ControlFlow::Break(x)`. If one of the iterators runs out of elements, 
38653865/// `ControlFlow::Continue(ord)` is returned where `ord` is the result of comparing the lengths of 
0 commit comments