mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-28 04:49:33 +01:00
document the nightly feature
This commit is contained in:
parent
c8df71adf0
commit
16821c8315
1 changed files with 5 additions and 0 deletions
|
@ -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)]
|
||||
|
|
Loading…
Reference in a new issue