mirror of
https://github.com/BurntSushi/walkdir.git
synced 2025-09-30 15:10:30 +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
|
To use this crate, add `walkdir` as a dependency to your project's
|
||||||
`Cargo.toml`:
|
`Cargo.toml`:
|
||||||
|
|
||||||
```
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
walkdir = "2"
|
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
|
I haven't recorded any benchmarks, but here are some things you can try with a
|
||||||
local checkout of `walkdir`:
|
local checkout of `walkdir`:
|
||||||
|
|
||||||
```
|
```sh
|
||||||
# The directory you want to recursively walk:
|
# The directory you want to recursively walk:
|
||||||
DIR=$HOME
|
DIR=$HOME
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ efficiently skip descending into directories.
|
|||||||
To use this crate, add `walkdir` as a dependency to your project's
|
To use this crate, add `walkdir` as a dependency to your project's
|
||||||
`Cargo.toml`:
|
`Cargo.toml`:
|
||||||
|
|
||||||
```text
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
walkdir = "2"
|
walkdir = "2"
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user