From 1a58d3a734859728d6fc1ecdaf24e97929600ed7 Mon Sep 17 00:00:00 2001 From: Avril Date: Mon, 18 Apr 2022 07:27:28 +0100 Subject: [PATCH] Removed stablalised feature flag for `const_fn_trait_bound` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumped bugfix version: Commit f98a5fc042095e8ea53e58f7f29452b5419d5b62 fixes deriving `Default` for types containing `smallmap::Map`. Fortune for smallmap's current commit: Small curse − 小凶 --- Cargo.toml | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d0fd5cf..0288732 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.3" +version = "1.3.4" authors = ["Avril "] edition = "2018" license = "MIT" diff --git a/src/lib.rs b/src/lib.rs index 043ce7f..30debdd 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -29,7 +29,6 @@ #![cfg_attr(nightly, feature(test))] #![cfg_attr(nightly, feature(drain_filter))] -#![cfg_attr(nightly, feature(const_fn_trait_bound))] #![cfg_attr(nightly, feature(never_type))] #[cfg(nightly)] extern crate test; @@ -451,6 +450,7 @@ where K: Collapse impl Default for Map { + #[inline] fn default() -> Self { Self::new()