mirror of
https://github.com/ARMSX2/ARMSX1.git
synced 2026-08-24 16:53:35 -07:00
Refactor canvas initialization in main.rs to remove unnecessary mutability
This commit is contained in:
+1
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user