Remove useless mut

This commit is contained in:
griffi-gh 2023-01-23 03:19:26 +01:00
parent cb428f4c71
commit ff38faa891

View file

@ -103,7 +103,7 @@ fn main() {
world.run_workload(update).unwrap();
//Start rendering (maybe use custom views for this?)
let mut target = {
let target = {
let renderer = world.borrow::<NonSendSync<UniqueView<Renderer>>>().unwrap();
renderer.display.draw()
};