Skip to content

Commit fd8f3bb

Browse files
vabc3Michael-F-Bryan
authored andcommitted
Remove unneeded mut modifier in test (#534)
1 parent fd7e8d1 commit fd8f3bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/rendered_output.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ fn book_with_a_reserved_filename_does_not_build() {
317317
let mut summary_file = fs::File::create(summary_path).unwrap();
318318
writeln!(summary_file, "[print](print.md)").unwrap();
319319

320-
let mut md = MDBook::load(tmp_dir.path()).unwrap();
320+
let md = MDBook::load(tmp_dir.path()).unwrap();
321321
let got = md.build();
322322
assert!(got.is_err());
323323
}

0 commit comments

Comments
 (0)