Logo

Programming-Idioms

History of Idiom 2 > diff from v3 to v4

Edit summary for version 4 by :

Version 3

2015-07-31, 23:45:21

Version 4

2015-08-18, 14:56:48

Idiom #2 Print Hello 10 times

Loop to execute some code a constant number of times

Idiom #2 Print Hello 10 times

Loop to execute some code a constant number of times

Code
for _ in 0..10 { println!("Hello"); }