Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Davidster committed Apr 27, 2024
1 parent dd6e57c commit 98e3361
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ikari/src/mesh.rs
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,9 @@ impl BasicMesh {
bail!("BasicMesh requires that all polygons have at least 3 vertices");
}

let last_elem = points.last().expect("Should have checked that the list was not empty");
let last_elem = points
.last()
.expect("Should have checked that the list was not empty");

triangles.extend(
points[..points.len() - 1]
Expand Down

0 comments on commit 98e3361

Please sign in to comment.