From 0e23d2a30785a16c3516d42ec2a09dbfbdf3dd9e Mon Sep 17 00:00:00 2001 From: Caio Date: Sat, 8 Aug 2020 21:47:30 -0300 Subject: [PATCH] Use min_const_generics --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index c8eb604..0f0f186 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -72,10 +72,10 @@ #![no_std] #![cfg_attr(feature = "union", feature(untagged_unions))] +#![cfg_attr(feature = "specialization", allow(incomplete_features))] #![cfg_attr(feature = "specialization", feature(specialization))] #![cfg_attr(feature = "may_dangle", feature(dropck_eyepatch))] -#![cfg_attr(feature = "const_generics", allow(incomplete_features))] -#![cfg_attr(feature = "const_generics", feature(const_generics))] +#![cfg_attr(feature = "const_generics", feature(min_const_generics))] #![deny(missing_docs)] #[doc(hidden)]