1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-06-07 01:56:21 +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. If you have time, try displaying it on the LEDs somehow too, or use the buttons somehow.
`src/main.rs`: `src/main.rs`:
```rust,compile_fail ```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};
@ -27,16 +28,19 @@ use microbit::{hal::uarte::{Baudrate, Parity, Uarte}, Board};
``` ```
`Cargo.toml` (you shouldn't need to change this): `Cargo.toml` (you shouldn't need to change this):
```toml ```toml
{{#include compass/Cargo.toml}} {{#include compass/Cargo.toml}}
``` ```
`Embed.toml` (you shouldn't need to change this): `Embed.toml` (you shouldn't need to change this):
```toml ```toml
{{#include compass/Embed.toml}} {{#include compass/Embed.toml}}
``` ```
`.cargo/config.toml` (you shouldn't need to change this): `.cargo/config.toml` (you shouldn't need to change this):
```toml ```toml
{{#include compass/.cargo/config.toml}} {{#include compass/.cargo/config.toml}}
``` ```