doc: use syntax highlighting in README

This commit is contained in:
Jędrzej 2018-05-27 14:59:26 +02:00 committed by Andrew Gallant
parent 26dc0f584b
commit e1f7637cf8
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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"
``` ```