Sorting algorithms/Bogosort: Difference between revisions
Content added Content deleted
(→{{header|Kotlin}}: Updated example see https://github.com/dkandalov/rosettacode-kotlin for details) |
m (Add reference to Rust rand library) |
||
Line 2,241: | Line 2,241: | ||
=={{header|Rust}}== |
=={{header|Rust}}== |
||
Works with Rust 1.11+, requires rand module |
Works with Rust 1.11+, requires rand module |
||
{{libheader|rand}} |
|||
<lang rust>extern crate rand; |
<lang rust>extern crate rand; |
||
use rand::Rng; |
use rand::Rng; |