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));
|
||||
}
|
||||
|
||||
Ok(())
|
||||
unreachable!()
|
||||
}
|
||||
|
||||
fn main() -> anyhow::Result<()> {
|
||||
@ -304,6 +304,5 @@ fn main() -> anyhow::Result<()> {
|
||||
thing,
|
||||
])?;
|
||||
|
||||
loop {}
|
||||
unreachable!()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user