Skip to content

Commit

Permalink
Fix build if compile-time-rng is disabled.
Browse files Browse the repository at this point in the history
The previous version always tried to include the `const_random` crate
even if the related feature was disabled. As this crates subscribed
into the 2018 edition the call should be obsolete and got deleted.
  • Loading branch information
0ndorio authored and tkaitchuck committed Nov 15, 2019
1 parent a7c0b5a commit 168dac5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#![allow(clippy::pedantic, clippy::cast_lossless, clippy::unreadable_literal)]

#![cfg_attr(all(not(test), not(feature = "std")), no_std)]
extern crate const_random;

#[macro_use]
mod convert;
Expand Down

0 comments on commit 168dac5

Please sign in to comment.