chore: clippy fixes

This commit is contained in:
Sébastien Crozet
2025-05-02 14:55:20 +02:00
committed by Sébastien Crozet
parent 1ebc95e88a
commit b798e1942d

View File

@@ -172,15 +172,9 @@ impl From<SphericalJoint> for GenericJoint {
/// Create spherical joints using the builder pattern.
#[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))]
#[derive(Copy, Clone, Debug, PartialEq)]
#[derive(Copy, Clone, Debug, Default, PartialEq)]
pub struct SphericalJointBuilder(pub SphericalJoint);
impl Default for SphericalJointBuilder {
fn default() -> Self {
Self(SphericalJoint::new())
}
}
impl SphericalJointBuilder {
/// Creates a new builder for spherical joints.
pub fn new() -> Self {