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

@@ -152,9 +152,9 @@ impl PrismaticJoint {
}
}
impl Into<GenericJoint> for PrismaticJoint {
fn into(self) -> GenericJoint {
self.data
impl From<PrismaticJoint> for GenericJoint {
fn from(val: PrismaticJoint) -> GenericJoint {
val.data
}
}
@@ -263,8 +263,8 @@ impl PrismaticJointBuilder {
}
}
impl Into<GenericJoint> for PrismaticJointBuilder {
fn into(self) -> GenericJoint {
self.0.into()
impl From<PrismaticJointBuilder> for GenericJoint {
fn from(val: PrismaticJointBuilder) -> GenericJoint {
val.0.into()
}
}