Feature gate rand on nightly.

We can't use features on non-nightly channels.
This commit is contained in:
Isis Lovecruft 2017-03-14 23:15:19 +00:00
parent 4bdbf89eeb
commit 4eaa1321ee
Failed to extract signature

View file

@ -105,7 +105,7 @@
//! ``` //! ```
#![no_std] #![no_std]
#![feature(rand)] #![cfg_attr(feature = "nightly", feature(rand))]
#![allow(unused_features)] #![allow(unused_features)]
#![cfg_attr(feature = "bench", feature(test))] #![cfg_attr(feature = "bench", feature(test))]
#![deny(missing_docs)] // refuse to compile if documentation is missing #![deny(missing_docs)] // refuse to compile if documentation is missing