We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e6e5f9 commit 2fa454eCopy full SHA for 2fa454e
src/rand_custom.rs
@@ -1,7 +1,7 @@
1
#[cfg(not(feature = "std"))]
2
-pub(crate) use rand::rngs::SmallRng as RngImpl;
3
-#[cfg(not(feature = "std"))]
4
use getrandom;
+#[cfg(not(feature = "std"))]
+pub(crate) use rand::rngs::SmallRng as RngImpl;
5
#[cfg(feature = "std")]
6
pub(crate) use rand::rngs::StdRng as RngImpl;
7
use rand::SeedableRng;
0 commit comments