Skip to content

Commit

Permalink
clippy: Fix clippy::field_reassign_with_default lints (#690)
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys authored Jul 18, 2024
1 parent 00f59d2 commit 850aa31
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/pipeline/physics_pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -969,8 +969,10 @@ mod test {
.local_anchor2(point![0.0, -3.0, 0.0]);
impulse_joints.insert(h, h_dynamic, joint, true);

let mut parameters = IntegrationParameters::default();
parameters.dt = 0.0;
let parameters = IntegrationParameters {
dt: 0.0,
..Default::default()
};
// Step once
let gravity = Vector::y() * -9.81;
pipeline.step(
Expand Down

0 comments on commit 850aa31

Please sign in to comment.