mirror of
https://github.com/encounter/rust-sdl2.git
synced 2026-07-10 21:18:41 -07:00
Remove unneeded mut
This commit is contained in:
+1
-1
@@ -220,7 +220,7 @@ fn patch_sdl2(sdl2_source_path: &Path) {
|
||||
// ever have more than one hunk.
|
||||
assert!(added_file.len() == 1);
|
||||
let file_path = sdl2_source_path.join(added_file.path());
|
||||
let mut dst_file = fs::File::create(&file_path)
|
||||
let dst_file = fs::File::create(&file_path)
|
||||
.expect(&format!(
|
||||
"Failed to create file {}",
|
||||
file_path.to_string_lossy()));
|
||||
|
||||
Reference in New Issue
Block a user