From 498fc04c9215bc36bd980fc72cfcf7c745c0b9e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ning?= Date: Tue, 3 Dec 2019 18:59:13 +0100 Subject: [PATCH] Remove unneeded `mut` --- sdl2-sys/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdl2-sys/build.rs b/sdl2-sys/build.rs index 25be7610..d0ef44bf 100644 --- a/sdl2-sys/build.rs +++ b/sdl2-sys/build.rs @@ -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()));