Skip to content

Commit 4807e26

Browse files
rand_chacha: remove conditional compilation around using core (#1534)
1 parent 935a3e3 commit 4807e26

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

rand_chacha/src/chacha.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,8 @@
88

99
//! The ChaCha random number generator.
1010
11-
#[cfg(not(feature = "std"))]
12-
use core;
13-
#[cfg(feature = "std")]
14-
use std as core;
15-
16-
use self::core::fmt;
1711
use crate::guts::ChaCha;
12+
use core::fmt;
1813
use rand_core::block::{BlockRng, BlockRngCore, CryptoBlockRng};
1914
use rand_core::{CryptoRng, RngCore, SeedableRng};
2015

0 commit comments

Comments
 (0)