Skip to content

Commit edbaf4d

Browse files
committed
Make documentation of re-exports nicer
1 parent 782b415 commit edbaf4d

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/lib.rs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -219,15 +219,14 @@ pub use rand_core::{RngCore, BlockRngCore, CryptoRng, SeedableRng};
219219
pub use rand_core::{ErrorKind, Error};
220220

221221
// external rngs
222-
pub use jitter::JitterRng;
223-
#[cfg(feature="std")] pub use os::OsRng;
222+
#[doc(inline)] pub use jitter::JitterRng;
223+
#[cfg(feature="std")]
224+
#[doc(inline)] pub use os::OsRng;
224225

225226
// pseudo rngs
226227
pub mod prng;
227-
pub use isaac::{IsaacRng, Isaac64Rng};
228-
pub use chacha::ChaChaRng;
229-
pub use prng::XorShiftRng;
230-
pub use prng::Hc128Rng;
228+
#[doc(no_inline)]
229+
pub use prng::{ChaChaRng, Hc128Rng, IsaacRng, Isaac64Rng, XorShiftRng};
231230

232231
// convenience and derived rngs
233232
#[cfg(feature="std")] pub use entropy_rng::EntropyRng;

0 commit comments

Comments
 (0)