Skip to content

Commit

Permalink
Remove #![feature(const_maybe_uninit_as_ptr)]
Browse files Browse the repository at this point in the history
It's now stable in nightly.
  • Loading branch information
yvt committed Dec 3, 2021
1 parent b14262b commit 4c71bed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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_raw_ptr_deref, const_refs_to_cell)]
```
7 changes: 1 addition & 6 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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_raw_ptr_deref, const_refs_to_cell)
)]

#[macro_use]
Expand Down

0 comments on commit 4c71bed

Please sign in to comment.