File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -612,7 +612,7 @@ where
612612/// See [`.tuple_combinations()`](crate::Itertools::tuple_combinations) for more
613613/// information.
614614#[ derive( Clone , Debug ) ]
615- #[ must_use = "iterator adaptors are lazy and do nothing unless consumed" ]
615+ #[ must_use = "this iterator adaptor is not lazy but does nearly nothing unless consumed" ]
616616pub struct TupleCombinations < I , T >
617617where
618618 I : Iterator ,
Original file line number Diff line number Diff line change @@ -196,10 +196,15 @@ must_use_tests! {
196196 while_some {
197197 let _ = Panicking . map( Some ) . while_some( ) ;
198198 }
199- #[ ignore]
200- tuple_combinations {
199+ tuple_combinations1 {
201200 let _ = Panicking . tuple_combinations:: <( _, ) >( ) ;
201+ }
202+ #[ should_panic]
203+ tuple_combinations2 {
202204 let _ = Panicking . tuple_combinations:: <( _, _) >( ) ;
205+ }
206+ #[ should_panic]
207+ tuple_combinations3 {
203208 let _ = Panicking . tuple_combinations:: <( _, _, _) >( ) ;
204209 }
205210 combinations {
You can’t perform that action at this time.
0 commit comments