Skip to content

Commit 8bbdc2e

Browse files
committed
Fix tests
1 parent 0a3e00e commit 8bbdc2e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rand_chacha/src/chacha.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ impl From<ChaChaCore> for ChaChaRng {
267267

268268
#[cfg(test)]
269269
mod test {
270-
use {RngCore, SeedableRng};
270+
use ::rand_core::{RngCore, SeedableRng};
271271
use super::ChaChaRng;
272272

273273
#[test]

rand_hc128/src/hc128.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ impl CryptoRng for Hc128Core {}
334334

335335
#[cfg(test)]
336336
mod test {
337-
use {RngCore, SeedableRng};
337+
use ::rand_core::{RngCore, SeedableRng};
338338
use super::Hc128Rng;
339339

340340
#[test]

0 commit comments

Comments
 (0)