Skip to content

Commit

Permalink
Fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
janhohenheim committed Jul 6, 2024
1 parent 57090d1 commit 269f846
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/interaction/pull.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ fn find_object(

let origin = origin.compute_transform();
let prop = find_prop_in_trace(&spatial_query, origin, config)
.or_else(|| find_prop_in_cone(&spatial_query, origin, &config, &q_transform));
.or_else(|| find_prop_in_cone(&spatial_query, origin, config, &q_transform));

let Some(prop) = prop else {
return;
Expand All @@ -55,7 +55,7 @@ fn find_object(
return;
};

if !can_pull(rigid_body, mass, &config) {
if !can_pull(rigid_body, mass, config) {
return;
}

Expand Down

0 comments on commit 269f846

Please sign in to comment.