From 269f84624082788e71404a7d83b52668df6638a7 Mon Sep 17 00:00:00 2001 From: Jan Hohenheim Date: Sat, 6 Jul 2024 22:59:50 +0200 Subject: [PATCH] Fix lints --- src/interaction/pull.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/interaction/pull.rs b/src/interaction/pull.rs index c5a1066..519ba9b 100644 --- a/src/interaction/pull.rs +++ b/src/interaction/pull.rs @@ -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; @@ -55,7 +55,7 @@ fn find_object( return; }; - if !can_pull(rigid_body, mass, &config) { + if !can_pull(rigid_body, mass, config) { return; }