1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-03-22 06:51:58 +02:00

Fix Markdown formatting.

This commit is contained in:
Andrew Walbran 2023-03-24 17:40:26 +00:00
parent 357f62e137
commit 6f83b97e69

View File

@ -13,6 +13,7 @@ shouldn't be necessary for this exercise.
If you have time, try displaying it on the LEDs somehow too, or use the buttons somehow.
`src/main.rs`:
```rust,compile_fail
{{#include compass/src/main.rs:top}}
use microbit::{hal::uarte::{Baudrate, Parity, Uarte}, Board};
@ -27,16 +28,19 @@ use microbit::{hal::uarte::{Baudrate, Parity, Uarte}, Board};
```
`Cargo.toml` (you shouldn't need to change this):
```toml
{{#include compass/Cargo.toml}}
```
`Embed.toml` (you shouldn't need to change this):
```toml
{{#include compass/Embed.toml}}
```
`.cargo/config.toml` (you shouldn't need to change this):
```toml
{{#include compass/.cargo/config.toml}}
```