Skip to content

Commit cd37f25

Browse files
committed
rustfmt with merge_imports.
1 parent 780b96d commit cd37f25

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

cap-rand/src/lib.rs

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,15 @@ pub use rand::{distributions, seq, AsByteSliceMut, CryptoRng, Error, Rng, RngCor
3737
///
3838
/// [`rand::prelude`]: https://docs.rs/rand/current/rand/prelude/index.html
3939
pub mod prelude {
40-
pub use crate::distributions::Distribution;
41-
pub use crate::random;
42-
pub use crate::rngs::CapRng;
4340
#[cfg(feature = "small_rng")]
4441
pub use crate::rngs::SmallRng;
45-
pub use crate::rngs::StdRng;
46-
pub use crate::seq::IteratorRandom;
47-
pub use crate::seq::SliceRandom;
48-
pub use crate::thread_rng;
49-
pub use crate::CryptoRng;
50-
pub use crate::Rng;
51-
pub use crate::RngCore;
52-
pub use crate::SeedableRng;
42+
pub use crate::{
43+
distributions::Distribution,
44+
random,
45+
rngs::{CapRng, StdRng},
46+
seq::{IteratorRandom, SliceRandom},
47+
thread_rng, CryptoRng, Rng, RngCore, SeedableRng,
48+
};
5349
}
5450

5551
/// Random number generators and adapters.

0 commit comments

Comments
 (0)