Contact: aviboots(AT)netvision.net.il
39,948 questions
51,890 answers
573 users
fn main() { for i in 1..10 { // 10 not inclusive println!("{}", i); } } /* run: 1 2 3 4 5 6 7 8 9 */
fn main() { for i in 1..10 { // 10 not inclusive if i == 6 { continue; } println!("{}", i); } } /* run: 1 2 3 4 5 7 8 9 */
fn main() { for i in 1..10 { // 10 not inclusive if i == 6 { break; } println!("{}", i); } } /* run: 1 2 3 4 5 */