1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-04-22 23:58:39 +02:00

Fix mdbook test.

This commit is contained in:
Andrew Walbran 2023-02-15 23:17:00 +00:00
parent 354834c711
commit af0d97d1a7
2 changed files with 2 additions and 2 deletions

View File

@ -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. 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}} {{#include compass/src/main.rs:top}}
use microbit::{hal::uarte::{Baudrate, Parity, Uarte}, Board}; use microbit::{hal::uarte::{Baudrate, Parity, Uarte}, Board};

View File

@ -4,6 +4,6 @@
([back to exercise](compass.md)) ([back to exercise](compass.md))
```rust ```rust,compile_fail
{{#include compass/src/main.rs}} {{#include compass/src/main.rs}}
``` ```