From 6f2359c36d57db4fe04b440caa94f462279ea971 Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Fri, 4 Nov 2022 23:46:39 -0700 Subject: [PATCH] lib: remove ineffective enabling of `map_first_last` If I'm reading this attribute correctly, it says that if the `map_first_last` feature is enabled, then we should enable the `map_first_last` feature, which seems like it would not have any effect. We started getting warnings from the nightly compiler about this line because it tries to enable a feature that's stable in that version. --- lib/src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/src/lib.rs b/lib/src/lib.rs index 0e8b4d0b1..60e70c26a 100644 --- a/lib/src/lib.rs +++ b/lib/src/lib.rs @@ -13,7 +13,6 @@ // limitations under the License. #![deny(unused_must_use)] -#![cfg_attr(feature = "map_first_last", feature(map_first_last))] pub mod backend; pub mod commit;