From 2fa2de9ad3f04c69fb4a559087e792e5d2b26482 Mon Sep 17 00:00:00 2001 From: Avril Date: Tue, 7 Sep 2021 19:27:44 +0100 Subject: [PATCH] Fix `const_fn` feature gate rename (`const_fn_trait_bounds`) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fortune for smallmap's current commit: Future small blessing − 末小吉 --- Cargo.toml | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a2fec43..7a18a25 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ description = "Small byte-sized generic key-value map type" keywords = ["map", "table", "small", "key", "value"] repository = "https://github.com/notflan/smallmap" homepage= "https://git.flanchan.moe/flanchan/smallmap" -version = "1.3.0" +version = "1.3.1" authors = ["Avril "] edition = "2018" license = "MIT" diff --git a/src/lib.rs b/src/lib.rs index 9c5f973..0d71f38 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -29,7 +29,7 @@ #![cfg_attr(nightly, feature(test))] #![cfg_attr(nightly, feature(drain_filter))] -#![cfg_attr(nightly, feature(const_fn))] +#![cfg_attr(nightly, feature(const_fn_trait_bound))] #![cfg_attr(nightly, feature(never_type))] #[cfg(nightly)] extern crate test;