Answers for "rust nesting loops"

0

rust nesting loops

'outer: loop {

    loop {
        // break; // This would break only the inner loop

        break 'outer; // This breaks the outer loop
    }

}
Posted by: Guest on April-26-2022

Browse Popular Code Answers by Language