mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-01-20 21:18:26 +02:00
Fix mdbook test.
This commit is contained in:
parent
354834c711
commit
af0d97d1a7
@ -7,7 +7,7 @@ Hint: check the documentation for the [`lsm303agr`](https://docs.rs/lsm303agr/la
|
||||
|
||||
If you have time, try displaying it on the LEDs somehow too, or use the buttons somehow.
|
||||
|
||||
```rust,should_panic
|
||||
```rust,compile_fail
|
||||
{{#include compass/src/main.rs:top}}
|
||||
use microbit::{hal::uarte::{Baudrate, Parity, Uarte}, Board};
|
||||
|
||||
|
@ -4,6 +4,6 @@
|
||||
|
||||
([back to exercise](compass.md))
|
||||
|
||||
```rust
|
||||
```rust,compile_fail
|
||||
{{#include compass/src/main.rs}}
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user