aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorJorge Aparicio <jorge@japaric.io>2019-02-15 19:52:25 +0100
committerJorge Aparicio <jorge@japaric.io>2019-02-19 12:37:25 +0100
commit88078e7770a2beda072ac37f89e2a81e5a9cb243 (patch)
treeeea481dcf82623ebd9830fc04923f3b4ac127d41 /src/lib.rs
parentc91b14bcd49f05ea40617dbd3166afa63234cb91 (diff)
add "nightly" feature
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 9914aaf..6c79f6c 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -36,6 +36,7 @@
//! [`Instant`]: struct.Instant.html
//! [`Duration`]: struct.Duration.html
+#![cfg_attr(feature = "nightly", feature(maybe_uninit))]
#![deny(missing_docs)]
#![deny(warnings)]
#![no_std]