History of Idiom 11 > diff from v68 to v69
Edit summary for version 69 by GobbleCock:
New Rust implementation by user [GobbleCock]
New Rust implementation by user [GobbleCock]
↷
Version 68
2018-05-08, 01:23:30
Version 69
2018-06-11, 19:30:25
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.