From fd8f3bb415dfea67d9d3853a67a32ac6dc3b3d4e Mon Sep 17 00:00:00 2001 From: vabc3 Date: Mon, 8 Jan 2018 00:25:45 +0800 Subject: [PATCH] Remove unneeded mut modifier in test (#534) --- tests/rendered_output.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/rendered_output.rs b/tests/rendered_output.rs index 38b804b2..fe256fe4 100644 --- a/tests/rendered_output.rs +++ b/tests/rendered_output.rs @@ -317,7 +317,7 @@ fn book_with_a_reserved_filename_does_not_build() { let mut summary_file = fs::File::create(summary_path).unwrap(); writeln!(summary_file, "[print](print.md)").unwrap(); - let mut md = MDBook::load(tmp_dir.path()).unwrap(); + let md = MDBook::load(tmp_dir.path()).unwrap(); let got = md.build(); assert!(got.is_err()); }