aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorGravatar Adam Greig <adam@ael.co.uk> 2019-07-24 08:14:28 -0600
committerGravatar Adam Greig <adam@ael.co.uk> 2019-07-24 08:14:28 -0600
commit33a783096e0756c2c251146f3816f856e246de75 (patch)
treeb9a0e3563a66c4badf11ef0685873e652c303591 /src/lib.rs
parent0788bd9226831d2748b16d300a212981b61aa7c9 (diff)
downloadcortex-m-33a783096e0756c2c251146f3816f856e246de75.tar.gz
cortex-m-33a783096e0756c2c251146f3816f856e246de75.tar.zst
cortex-m-33a783096e0756c2c251146f3816f856e246de75.zip
Define MSRV to be 1.31.0 and unconditionally use const-fn
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib.rs b/src/lib.rs
index fda3e01..90711bf 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -24,11 +24,10 @@
//!
//! The disadvantage is that `inline-asm` requires a nightly toolchain.
//!
-//! ## `const-fn`
+//! # Minimum Supported Rust Version (MSRV)
//!
-//! Enabling this feature turns the `Mutex.new` constructor into a `const fn`.
-//!
-//! This feature requires a nightly toolchain.
+//! This crate is guaranteed to compile on stable Rust 1.31 and up. It *might*
+//! compile with older versions but that may change in any new patch release.
#![cfg_attr(feature = "inline-asm", feature(asm))]
#![deny(missing_docs)]