Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/walkdir.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJędrzej <nabijaczleweli@gmail.com>2018-05-27 15:59:26 +0300
committerAndrew Gallant <jamslam@gmail.com>2018-05-27 15:59:26 +0300
commite1f7637cf83fe0c8ba9871595ccede4b045640ce (patch)
tree73e773e7797209566734b8be722c125139e3408d
parent26dc0f584b06c6f53f71e151e8f3bb96a2a1d46a (diff)
doc: use syntax highlighting in README
-rw-r--r--README.md4
-rw-r--r--src/lib.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 4f4dd88..e15415f 100644
--- a/README.md
+++ b/README.md
@@ -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
diff --git a/src/lib.rs b/src/lib.rs
index 9d20478..3d17098 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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"
```