Merge pull request #63 from yvt/fix-nightly

Fix `unstable_const` for the latest compiler
This commit is contained in:
Gilad Naaman 2021-12-03 16:18:05 +02:00 committed by GitHub
commit fd81a21866
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 7 deletions

View File

@ -61,5 +61,5 @@ features = ["unstable_const"]
Your crate root: (`lib.rs`/`main.rs`)
```rust,ignore
#![feature(const_ptr_offset_from, const_maybe_uninit_as_ptr, const_raw_ptr_deref, const_refs_to_cell)]
#![feature(const_ptr_offset_from, const_refs_to_cell)]
```

View File

@ -58,12 +58,7 @@
#![no_std]
#![cfg_attr(
feature = "unstable_const",
feature(
const_ptr_offset_from,
const_maybe_uninit_as_ptr,
const_raw_ptr_deref,
const_refs_to_cell,
)
feature(const_ptr_offset_from, const_refs_to_cell)
)]
#[macro_use]