nums.iter().take_while(|x| x <= 10)
x.try_for_each(|y| {...; ControlFlow::Break} )Internal iterators and/or lambdas are at odds with imperative code. Some guy also yesterday ponder about this stuff:
https://www.reddit.com/r/ProgrammingLanguages/comments/pno38...