Skip to content

Commit

Permalink
chore: clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sebcrozet committed Mar 24, 2024
1 parent 67701de commit e3776d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src_testbed/objects/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ impl EntityWithGraphics {
//
// Ball mesh
//
let ball = Mesh::try_from(bevy::math::primitives::Sphere::new(1.0)).unwrap();
let ball = Mesh::from(bevy::math::primitives::Sphere::new(1.0));
out.insert(ShapeType::Ball, meshes.add(ball));

//
Expand Down

0 comments on commit e3776d2

Please sign in to comment.