Refactor canvas initialization in main.rs to remove unnecessary mutability

This commit is contained in:
moonpower
2025-11-21 09:47:47 +03:00
parent 723f4f444e
commit 2c9c247308
2 changed files with 1 additions and 1 deletions
Vendored
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -19,7 +19,7 @@ fn main() -> Result<(), String> {
.build()
.map_err(|e| e.to_string())?;
let mut canvas = window
let canvas = window
.into_canvas()
.present_vsync()
.accelerated()