From 2608178251a6eb8f85275cc689c9b602bf818a2f Mon Sep 17 00:00:00 2001 From: "Zhao, Gang" Date: Wed, 12 Oct 2022 22:23:48 +0800 Subject: [PATCH] Fix nightly build Feature read_initializer was deleted and maybe_uninit_ref was stablized. --- src/lib.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 1016168..c0853b5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,4 @@ -#![cfg_attr(feature = "nightly", feature(maybe_uninit_ref))] #![cfg_attr(feature = "nightly", feature(never_type))] -#![cfg_attr(all(feature = "std", feature = "nightly"), feature(read_initializer))] #![cfg_attr(not(feature = "std"), no_std)] #![cfg_attr(feature = "std", allow(dead_code))]