From 67f0b00112f6f9fc55e740bc36928016603f6342 Mon Sep 17 00:00:00 2001
From: Mitsutaka Mimura <takkanm@gmail.com>
Date: Thu, 5 Nov 2015 08:14:55 +0900
Subject: [PATCH] fix unused variable `path` warning

---
 src/bin/rustfmt.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/rustfmt.rs b/src/bin/rustfmt.rs
index b8eacc2bcd0..9528105124f 100644
--- a/src/bin/rustfmt.rs
+++ b/src/bin/rustfmt.rs
@@ -94,7 +94,7 @@ fn execute() -> i32 {
         Operation::Stdin(input, write_mode) => {
             // try to read config from local directory
             let config = match lookup_and_read_project_file(&Path::new(".")) {
-                Ok((path, toml)) => {
+                Ok((_, toml)) => {
                     Config::from_toml(&toml)
                 }
                 Err(_) => Default::default(),