History of Idiom 11 > diff from v69 to v70
Edit summary for version 70 by GobbleCock:
[Rust] Add missing semicolon
[Rust] Add missing semicolon
↷
Version 69
2018-06-11, 19:30:25
Version 70
2018-06-11, 19:30:57
Idiom #11 Pick a random element from a list
List x must be non-empty.
Idiom #11 Pick a random element from a list
List x must be non-empty.
Comments bubble
(https://crates.io/crates/rand)
The choose method returns an Option which is None if the given list is empty.
Comments bubble
(https://crates.io/crates/rand)
The choose method returns an Option which is None if the given list is empty.