mirror of
https://github.com/BurntSushi/walkdir.git
synced 2025-09-28 22:20:27 +00:00
doc: use syntax highlighting in README
This commit is contained in:
parent
26dc0f584b
commit
e1f7637cf8
@ -20,7 +20,7 @@ Dual-licensed under MIT or the [UNLICENSE](http://unlicense.org).
|
||||
To use this crate, add `walkdir` as a dependency to your project's
|
||||
`Cargo.toml`:
|
||||
|
||||
```
|
||||
```toml
|
||||
[dependencies]
|
||||
walkdir = "2"
|
||||
```
|
||||
@ -111,7 +111,7 @@ allocations as possible.
|
||||
I haven't recorded any benchmarks, but here are some things you can try with a
|
||||
local checkout of `walkdir`:
|
||||
|
||||
```
|
||||
```sh
|
||||
# The directory you want to recursively walk:
|
||||
DIR=$HOME
|
||||
|
||||
|
@ -8,7 +8,7 @@ efficiently skip descending into directories.
|
||||
To use this crate, add `walkdir` as a dependency to your project's
|
||||
`Cargo.toml`:
|
||||
|
||||
```text
|
||||
```toml
|
||||
[dependencies]
|
||||
walkdir = "2"
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user