Skip to content

Commit

Permalink
Merge pull request #63 from yvt/fix-nightly
Browse files Browse the repository at this point in the history
Fix `unstable_const` for the latest compiler
  • Loading branch information
Gilnaa authored Dec 3, 2021
2 parents b14262b + 4248395 commit fd81a21
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_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_refs_to_cell)
)]

#[macro_use]
Expand Down

0 comments on commit fd81a21

Please sign in to comment.