From 3372edb35f0b58781a74b2357cad73d50998b023 Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Sun, 7 Dec 2014 15:51:25 -0500 Subject: Unnecessary mutability. --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index 52eeb72..10634f1 100644 --- a/src/config.rs +++ b/src/config.rs @@ -164,7 +164,7 @@ impl Config { pub fn index_files(&self) -> io::IoResult, io::File)>> { - let (mut csv_file, mut idx_file) = match (&self.path, &self.idx_path) { + let (csv_file, idx_file) = match (&self.path, &self.idx_path) { (&None, &None) => return Ok(None), (&None, &Some(ref p)) => return Err(io::IoError { kind: io::OtherIoError, -- cgit v1.2.3