File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -552,23 +552,6 @@ fn timer() {
552
552
553
553
```
554
554
555
- > ** NOTE**
556
- >
557
- > At the moment, the ` cortex-m ` crate hides const versions of some functions
558
- > (including ` Mutex::new() ` ) behind the ` const-fn ` feature. So you need to add
559
- > the ` const-fn ` feature as a dependency for cortex-m in the Cargo.toml to make
560
- > the above examples work:
561
- >
562
- > ``` toml
563
- > [dependencies.cortex-m]
564
- > version =" 0.6.0"
565
- > features =[" const-fn" ]
566
- > ```
567
- > Meanwhile, `const-fn` has been working on stable Rust for some time now.
568
- > So this additional switch in Cargo.toml will not be needed as soon as
569
- > it is enabled in `cortex-m` by default.
570
- >
571
-
572
555
Whew! This is safe, but it is also a little unwieldy. Is there anything else
573
556
we can do?
574
557
You can’t perform that action at this time.
0 commit comments