Skip to content

Commit 31e6aa0

Browse files
committed
Fix cfg for rand::random
1 parent 0128160 commit 31e6aa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ use crate::distr::{Distribution, Standard};
165165
///
166166
/// [`Standard`]: distr::Standard
167167
/// [`ThreadRng`]: rngs::ThreadRng
168-
#[cfg(all(feature = "std", feature = "std_rng", feature = "getrandom"))]
168+
#[cfg(feature = "thread_rng")]
169169
#[inline]
170170
pub fn random<T>() -> T
171171
where

0 commit comments

Comments
 (0)