External Publication
Visit Post

Add an implementation for the Default trait for std::ops::ControlFlow

Rust Internals [Unofficial] April 22, 2026
Source

scottmcm:

This is also why while Result has map and map_err but ControlFlow has map_break and map_continue

How fitting that I had also written a note about precisely the naming choice for these map methods but then didn't include it for brevity.

Discussion in the ATmosphere

Loading comments...