rust jump back to an outer loop

To jump back to an outer loop in Rust, you can use the break statement with a label. The label is placed before the loop you want to break out of, and then you can use break label_name; to jump to the end of that loop and continue with the next iteration of the outer loop.

Here's an example:

fn main() {
    'outer: loop {
        println!("Outer loop");

        loop {
            println!("Inner loop");

            // Jump back to the outer loop
            break 'outer;
        }
    }
}

In this example, the program will print "Outer loop" and "Inner loop" once, and then break out of the inner loop and continue with the next iteration of the outer loop.

Please note that the label name can be any valid Rust identifier, and it is used to identify the loop you want to break out of.