DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR RUST
for loops in rust
for x in 0..10 { println!("{}", x); // x: i32 } //abstract: for var in expression { code }
Source by doc.rust-lang.org #
PREVIOUS
NEXT
Tagged:
#loops
#rust
ADD COMMENT
Topic
COMMENT
Name
1+2 =
Submit