Skip to content

Commit

Permalink
rand_chacha: remove conditional compilation around using core (#1534)
Browse files Browse the repository at this point in the history
  • Loading branch information
ComputerDruid authored Nov 22, 2024
1 parent 935a3e3 commit 4807e26
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions rand_chacha/src/chacha.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,8 @@

//! The ChaCha random number generator.
#[cfg(not(feature = "std"))]
use core;
#[cfg(feature = "std")]
use std as core;

use self::core::fmt;
use crate::guts::ChaCha;
use core::fmt;
use rand_core::block::{BlockRng, BlockRngCore, CryptoBlockRng};
use rand_core::{CryptoRng, RngCore, SeedableRng};

Expand Down

0 comments on commit 4807e26

Please sign in to comment.