Skip to content

Commit 39ad732

Browse files
committed
doc: remove #![feature(const_loop)] and #![feature(const_if_match)] from example code
`const_if_match` and `const_loop` have been stabilized by <rust-lang/rust#72437>.
1 parent 2e15b31 commit 39ad732

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ Constance is a proof-of-concept of a static RTOS that utilizes Rust's compile-ti
2727
## Example
2828

2929
```rust
30-
#![feature(const_loop)]
3130
#![feature(const_fn)]
32-
#![feature(const_if_match)]
3331
#![feature(const_mut_refs)]
3432
use constance::kernel::Task;
3533

src/constance_port_std/src/lib.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ Simulator for running [`::constance`] on a hosted environment
33
# Usage
44

55
```rust
6-
#![feature(const_loop)]
76
#![feature(const_fn)]
8-
#![feature(const_if_match)]
97
#![feature(const_mut_refs)]
108

119
// Require `unsafe` even in `unsafe fn` - highly recommended

0 commit comments

Comments
 (0)