Skip to content

Commit

Permalink
Removed superflous clone()
Browse files Browse the repository at this point in the history
  • Loading branch information
craigmayhew committed Jun 27, 2020
1 parent 3ee0500 commit 11503ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/systems/life.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ impl<'s> System<'s> for LifeSystem {
world
.create_entity()
.named(format!("Life Form {},{},{}", translation.x.to_string(),translation.to_string(),translation.z.to_string()))
.with(mesh_tetra.clone())
.with(colour.clone())
.with(mesh_tetra)
.with(colour)
.with(transform_new_life.clone())
.build();
});
Expand Down

0 comments on commit 11503ea

Please sign in to comment.