Skip to content

Commit 0e23d2a

Browse files
authored
Use min_const_generics
1 parent f7e01ef commit 0e23d2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@
7272
7373
#![no_std]
7474
#![cfg_attr(feature = "union", feature(untagged_unions))]
75+
#![cfg_attr(feature = "specialization", allow(incomplete_features))]
7576
#![cfg_attr(feature = "specialization", feature(specialization))]
7677
#![cfg_attr(feature = "may_dangle", feature(dropck_eyepatch))]
77-
#![cfg_attr(feature = "const_generics", allow(incomplete_features))]
78-
#![cfg_attr(feature = "const_generics", feature(const_generics))]
78+
#![cfg_attr(feature = "const_generics", feature(min_const_generics))]
7979
#![deny(missing_docs)]
8080

8181
#[doc(hidden)]

0 commit comments

Comments
 (0)