File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,15 @@ You may also find the [Upgrade Guide](https://rust-random.github.io/book/update.
13
13
- impl PartialEq+Eq for StdRng, SmallRng, and StepRng (#975 )
14
14
- Added a ` serde1 ` feature and added Serialize/Deserialize to ` UniformInt ` and ` WeightedIndex ` (#974 )
15
15
- Document types supported by ` random ` (#994 )
16
+ - Implement weighted sampling without replacement (#976 , #1013 )
16
17
17
18
### Changes
18
19
- ` gen_range(a, b) ` was replaced with ` gen_range(a..b) ` , and ` gen_range(a..=b) `
19
20
is supported (#744 , #1003 ). Note that ` a ` and ` b ` can no longer be references or SIMD types.
20
21
- Replace ` AsByteSliceMut ` with ` Fill ` (#940 )
21
22
- Move alias method for ` WeightedIndex ` to ` rand_distr ` (#945 )
22
23
- ` Alphanumeric ` samples bytes instead of chars (#935 )
24
+ - The minimum supported Rust version is now 1.36 (#1011 )
23
25
- Better NaN handling for ` WeightedIndex ` (#1005 )
24
26
- Implement ` IntoIterator ` for ` IndexVec ` , replacing the ` into_iter ` method (#1007 )
25
27
- Reduce packaged crate size (#983 )
You can’t perform that action at this time.
0 commit comments