Skip to content

Commit 3cf8955

Browse files
committed
clippy
1 parent 5a1a2ac commit 3cf8955

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

examples2d/pin_slot_joint2.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,5 @@ pub fn init_world(testbed: &mut Testbed) {
8181
* Set up the testbed.
8282
*/
8383
testbed.set_world(bodies, colliders, impulse_joints, multibody_joints);
84-
testbed.set_character_body(character_handle);
8584
testbed.look_at(point![0.0, 1.0], 100.0);
8685
}

src/dynamics/joint/generic_joint.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#![allow(clippy::bad_bit_mask)] // Clippy will complain about the bitmasks due to JointAxesMask::FREE_FIXED_AXES being 0.
2+
#![allow(clippy::unnecessary_cast)] // Casts are needed for switching between f32/f64.
23

34
use crate::dynamics::solver::MotorParameters;
45
use crate::dynamics::{

0 commit comments

Comments
 (0)