mirror of
https://github.com/rust-lang/mdBook
synced 2024-12-12 22:02:37 +00:00
Remove unneeded mut modifier in test (#534)
This commit is contained in:
parent
fd7e8d1b7b
commit
fd8f3bb415
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue