aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 6c79f6c7..4c2fd9e0 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -35,6 +35,11 @@
//!
//! [`Instant`]: struct.Instant.html
//! [`Duration`]: struct.Duration.html
+//!
+//! - `nightly`. Enabling this opt-in feature makes RTFM internally use the unstable
+//! `core::mem::MaybeUninit` API and unstable `const_fn` language feature to reduce static memory
+//! usage, runtime overhead and initialization overhead. This feature requires a nightly compiler
+//! and may stop working at any time!
#![cfg_attr(feature = "nightly", feature(maybe_uninit))]
#![deny(missing_docs)]