There was an error while loading. Please reload this page.
Loop labels allow for performing certain actions with regards to a specific loop
for outer_loop : (i usize = 0; i < 10; i++){ for inner_loop : (j usize = 0; j < 10; j++){ if i + j == 16, break outer_loop } }
See conditional statements and break and continue for more information
break
continue
Table of Contents