Create README files for all the examples
This commit is contained in:
parent
9758c12176
commit
b0cf47cc2b
12 changed files with 199 additions and 1 deletions
18
examples/counter/README.md
Normal file
18
examples/counter/README.md
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
## Counter
|
||||
|
||||
The classic counter example explained in the [`README`](../../README.md).
|
||||
|
||||
The __[`main`]__ file contains all the code of the example.
|
||||
|
||||
<div align="center">
|
||||
<a href="https://gfycat.com/fairdeadcatbird">
|
||||
<img src="https://thumbs.gfycat.com/FairDeadCatbird-small.gif">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
You can run it with `cargo run`:
|
||||
```
|
||||
cargo run --package counter
|
||||
```
|
||||
|
||||
[`main`]: src/main.rs
|
||||
Loading…
Add table
Add a link
Reference in a new issue