(tx_interupt, move || {
'outer: for (i_p, p) in plots.iter().enumerate() {
what does 'outer
do here?
(tx_interupt, move || {
'outer: for (i_p, p) in plots.iter().enumerate() {
what does 'outer
do here?
It labels the for loop with the name outer
and is used in conjunction with a break
or continue
statement to leave the loop early or skip part of it: Nesting and labels - Rust By Example
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.