chore: clippy fixes
This commit is contained in:
committed by
Sébastien Crozet
parent
1ebc95e88a
commit
b798e1942d
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user