Skip to content

Commit c5eb0da

Browse files
committed
Remove src/rngs/thread.rs
1 parent 31e6aa0 commit c5eb0da

File tree

2 files changed

+1
-46
lines changed

2 files changed

+1
-46
lines changed

src/rngs/mod.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,13 @@ mod xoshiro256plusplus;
9595

9696
#[cfg(feature = "std_rng")]
9797
mod std;
98-
#[cfg(all(feature = "std", feature = "std_rng", feature = "getrandom"))]
99-
pub(crate) mod thread;
10098

10199
#[cfg(feature = "small_rng")]
102100
pub use self::small::SmallRng;
103101
#[cfg(feature = "std_rng")]
104102
pub use self::std::StdRng;
105103
#[cfg(feature = "thread_rng")]
106-
pub use self::thread::ThreadRng;
104+
pub use rand_trng::{rng, ThreadRng};
107105

108106
#[cfg(feature = "getrandom")]
109107
pub use rand_core::OsRng;

src/rngs/thread.rs

-43
This file was deleted.

0 commit comments

Comments
 (0)