refactor: nicer code
This commit is contained in:
parent
3166e5ce7c
commit
1e6b6fcec6
@ -229,7 +229,7 @@ fn draw_rotating_mesh(meshes: Vec<Mesh>) -> anyhow::Result<()> {
|
|||||||
thread::sleep(Duration::from_millis(10));
|
thread::sleep(Duration::from_millis(10));
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(())
|
unreachable!()
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() -> anyhow::Result<()> {
|
fn main() -> anyhow::Result<()> {
|
||||||
@ -304,6 +304,5 @@ fn main() -> anyhow::Result<()> {
|
|||||||
thing,
|
thing,
|
||||||
])?;
|
])?;
|
||||||
|
|
||||||
loop {}
|
|
||||||
unreachable!()
|
unreachable!()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user