diff --git a/Cargo.lock b/Cargo.lock
index e43ab0d95d9..c5a39eb221a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2,7 +2,7 @@
 name = "rustfmt"
 version = "0.2.1"
 dependencies = [
- "diff 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
+ "diff 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
  "env_logger 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
  "getopts 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)",
  "log 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -30,7 +30,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 
 [[package]]
 name = "diff"
-version = "0.1.7"
+version = "0.1.8"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 
 [[package]]
diff --git a/Cargo.toml b/Cargo.toml
index 17bd20a0561..78b359de177 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -20,7 +20,7 @@ unicode-segmentation = "0.1.2"
 regex = "0.1.41"
 term = "0.2.11"
 strings = "0.0.1"
-diff = "0.1.7"
+diff = "0.1.8"
 syntex_syntax = "0.23.0"
 log = "0.3.2"
 env_logger = "0.3.1"