mirror of
https://github.com/async-rs/async-std.git
synced 2025-01-16 02:39:55 +00:00
add inline example
This commit is contained in:
parent
3db7631a7d
commit
25185da76d
1 changed files with 9 additions and 1 deletions
|
@ -18,6 +18,14 @@ Spawns a task that says hello.
|
|||
|
||||
Counts the number of lines in a file given as an argument.
|
||||
|
||||
```shell
|
||||
cargo run --example line-count -- ./Cargo.toml
|
||||
```
|
||||
|
||||
- [List Dir][list-dir]
|
||||
|
||||
Lists files in a directory given as an argument.
|
||||
|
||||
[hello-world]: https://github.com/async-rs/async-std/blob/master/examples/hello-world.rs
|
||||
[line-count]: https://github.com/async-rs/async-std/blob/master/examples/line-count.rs
|
||||
<!-- [list-dir]: https://github.com/async-rs/async-std/blob/master/examples/list-dir.rs -->
|
||||
[list-dir]: https://github.com/async-rs/async-std/blob/master/examples/list-dir.rs
|
||||
|
|
Loading…
Reference in a new issue