Skip to content

Commit

Permalink
rand: re-export UnwrapMut & UnwrapErr
Browse files Browse the repository at this point in the history
  • Loading branch information
baloo committed Feb 18, 2025
1 parent ec6d5c0 commit 6a89119
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ You may also find the [Upgrade Guide](https://rust-random.github.io/book/update.
## [Unreleased]
- Fix feature `simd_support` for recent nightly rust (#1586)
- Add `Alphabetic` distribution. (#1587)
- Re-export `UnwrapMut` and `UnwrapErr` from `rand_core` (#1594)

## [0.9.0] - 2025-01-27
### Security and unsafe
Expand Down
4 changes: 3 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ macro_rules! error { ($($x:tt)*) => (
) }

// Re-exports from rand_core
pub use rand_core::{CryptoRng, RngCore, SeedableRng, TryCryptoRng, TryRngCore};
pub use rand_core::{
CryptoRng, RngCore, SeedableRng, TryCryptoRng, TryRngCore, UnwrapErr, UnwrapMut,
};

// Public modules
pub mod distr;
Expand Down

0 comments on commit 6a89119

Please sign in to comment.