517: Fix embassy-net documentation of running examples. r=lulf a=matoushybl

and fix weird indentation.

Co-authored-by: Matous Hybl <hyblmatous@gmail.com>
This commit is contained in:
bors[bot] 2021-12-06 14:39:53 +00:00 committed by GitHub
commit 8b4a247af2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View File

@ -17,10 +17,11 @@ sudo ip -6 route add fe80::/64 dev tap0
sudo ip -6 route add fdaa::/64 dev tap0
```
Then, run it
Then run the example located in the `examples` folder:
```sh
cargo run --bin embassy-net-examples
cd $EMBASSY_ROOT/examples/std/
cargo run --bin net
```
## License