File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ reading the [Upgrade Guide](https://rust-random.github.io/book/update.html).
56
56
57
57
### Rust version requirements
58
58
59
- The since version 0.5, Rand requires ** Rustc version 1.22 or greater** .
59
+ Since version 0.5, Rand requires ** Rustc version 1.22 or greater** .
60
60
Rand 0.4 and 0.3 (since approx. June 2017) require Rustc version 1.15 or
61
61
greater. Subsets of the Rand code may work with older Rust versions, but this
62
62
is not supported.
Original file line number Diff line number Diff line change 31
31
//! let mut rng = rand::thread_rng();
32
32
//! let y: f64 = rng.gen(); // generates a float between 0 and 1
33
33
//!
34
- //! let nums: Vec<i32> = (1..100).collect();
34
+ //! let mut nums: Vec<i32> = (1..100).collect();
35
35
//! nums.shuffle(&mut rng);
36
36
//! ```
37
37
//!
You can’t perform that action at this time.
0 commit comments