Skip to content

Commit 25185da

Browse files
committed
add inline example
1 parent 3db7631 commit 25185da

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

examples/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ Spawns a task that says hello.
1818

1919
Counts the number of lines in a file given as an argument.
2020

21+
```shell
22+
cargo run --example line-count -- ./Cargo.toml
23+
```
24+
25+
- [List Dir][list-dir]
26+
27+
Lists files in a directory given as an argument.
28+
2129
[hello-world]: https://github.com/async-rs/async-std/blob/master/examples/hello-world.rs
2230
[line-count]: https://github.com/async-rs/async-std/blob/master/examples/line-count.rs
23-
<!-- [list-dir]: https://github.com/async-rs/async-std/blob/master/examples/list-dir.rs -->
31+
[list-dir]: https://github.com/async-rs/async-std/blob/master/examples/list-dir.rs

0 commit comments

Comments
 (0)