mirror of
https://github.com/rust-lang/mdBook.git
synced 2025-12-28 06:46:58 -05:00
Remove unneeded mut modifier in test (#534)
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user