refactor: nicer code

This commit is contained in:
Yandrik 2022-12-30 18:04:59 +01:00
parent 3166e5ce7c
commit 1e6b6fcec6
1 changed files with 1 additions and 2 deletions

View File

@ -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!()
} }