From 33a783096e0756c2c251146f3816f856e246de75 Mon Sep 17 00:00:00 2001 From: Adam Greig Date: Wed, 24 Jul 2019 08:14:28 -0600 Subject: Define MSRV to be 1.31.0 and unconditionally use const-fn --- src/lib.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src') 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)] -- cgit v1.2.3