Skip to content

Commit 8d1d857

Browse files
authored
Reduce block code (#34)
Remove BlockRng64. Make BlockRng generic. Add sealed trait le::Word.
1 parent f9790b2 commit 8d1d857

File tree

3 files changed

+129
-346
lines changed

3 files changed

+129
-346
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1616
- Removed optional dependency `serde` ([#28])
1717
- Add `SeedableRng::fork` methods ([#17])
1818
- Rename trait `block::BlockRngCore` to `block::Generator` and associated type `Results` to `Output`; remove assoc. `type Item` and remove type bounds ([#26])
19-
- Add `fn drop` to trait `block::Generator` (#35)
19+
- Add `fn drop` to trait `block::Generator` ([#35])
20+
- Remove `BlockRng64` ([#34])
21+
- Remove impl of `RngCore` for `BlockRng`, making the latter more generic ([#34])
22+
- Add trait `le::Word` ([#34])
2023

2124
### Other
2225
- Changed repository from [rust-random/rand] to [rust-random/core].
@@ -31,6 +34,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3134
[#17]: https://github.com/rust-random/rand-core/pull/17
3235
[#26]: https://github.com/rust-random/rand-core/pull/28
3336
[#28]: https://github.com/rust-random/rand-core/pull/28
37+
[#34]: https://github.com/rust-random/rand-core/pull/34
3438
[#35]: https://github.com/rust-random/rand-core/pull/35
3539

3640
[rust-random/rand]: https://github.com/rust-random/rand

0 commit comments

Comments
 (0)