Remove unneeded mut modifier in test (#534)

This commit is contained in:
vabc3 2018-01-08 00:25:45 +08:00 committed by Michael Bryan
parent fd7e8d1b7b
commit fd8f3bb415
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}