Skip to main content

terminates

Function terminates 

Source
fn terminates(body: &Block) -> bool
Expand description

True when body may end the loop it belongs to: a ? or return anywhere outside closures and async blocks, a break that leaves it, or a continue aimed at an outer loop.