Conversation

Fun facts: * Rust lets you have "named" break/continue conditions in a loop * Rust lets you have loops that use a `break` to "return" a value from a loop Now, what I had not considered, is that you can do both at the same time. Behold, this glory of syntax:
Rust source code showing:

fn main() {
    let x = 'named: loop {
        break 'named 10;
    };
    println!("{}", x);
}
8
98