Fix clippy and enable clippy on CI

This commit is contained in:
Sébastien Crozet
2024-01-27 16:49:53 +01:00
committed by Sébastien Crozet
parent aef873f20e
commit da92e5c283
81 changed files with 420 additions and 468 deletions

View File

@@ -164,9 +164,9 @@ impl SphericalJoint {
}
}
impl Into<GenericJoint> for SphericalJoint {
fn into(self) -> GenericJoint {
self.data
impl From<SphericalJoint> for GenericJoint {
fn from(val: SphericalJoint) -> GenericJoint {
val.data
}
}
@@ -288,8 +288,8 @@ impl SphericalJointBuilder {
}
}
impl Into<GenericJoint> for SphericalJointBuilder {
fn into(self) -> GenericJoint {
self.0.into()
impl From<SphericalJointBuilder> for GenericJoint {
fn from(val: SphericalJointBuilder) -> GenericJoint {
val.0.into()
}
}