Skip to content

Commit fd81a21

Browse files
authored
Merge pull request #63 from yvt/fix-nightly
Fix `unstable_const` for the latest compiler
2 parents b14262b + 4248395 commit fd81a21

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,5 @@ features = ["unstable_const"]
6161

6262
Your crate root: (`lib.rs`/`main.rs`)
6363
```rust,ignore
64-
#![feature(const_ptr_offset_from, const_maybe_uninit_as_ptr, const_raw_ptr_deref, const_refs_to_cell)]
64+
#![feature(const_ptr_offset_from, const_refs_to_cell)]
6565
```

src/lib.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,7 @@
5858
#![no_std]
5959
#![cfg_attr(
6060
feature = "unstable_const",
61-
feature(
62-
const_ptr_offset_from,
63-
const_maybe_uninit_as_ptr,
64-
const_raw_ptr_deref,
65-
const_refs_to_cell,
66-
)
61+
feature(const_ptr_offset_from, const_refs_to_cell)
6762
)]
6863

6964
#[macro_use]

0 commit comments

Comments
 (0)