From e1f7637cf83fe0c8ba9871595ccede4b045640ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=99drzej?= Date: Sun, 27 May 2018 14:59:26 +0200 Subject: [PATCH] doc: use syntax highlighting in README --- README.md | 4 ++-- src/lib.rs | 2 +- 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" ```