DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR RUST
rust for loop
#![allow(unused)] fn main() { let mut i = 0; while i < 10 { println!("hello"); i = i + 1; } }
Source by doc.rust-lang.org #
PREVIOUS
NEXT
Tagged:
#rust
#loop
ADD COMMENT
Topic
COMMENT
Name
2+4 =
Submit