Answers for "rust nested loop"

0

rust nested loop

'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