History of Idiom 2 > diff from v100 to v101
Edit summary for version 101 by the10thwiz:
[Rust] Adjust the wording of the exlination to better explain why and how the underscore is used.
[Rust] Adjust the wording of the exlination to better explain why and how the underscore is used.
↷
Version 100
2019-10-02, 09:48:43
Version 101
2019-10-02, 14:04:14
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
Comments bubble
You can leave out variable name with underscore if you do not want to use it.
Comments bubble
The compiler doesn't report unused variables prefixed with an underscore.