Fix Clippy warning

This commit is contained in:
Hanno Braun 2022-03-16 16:42:09 +01:00
parent da5ccfc6cd
commit 8fb9a14ea0

View File

@ -16,7 +16,7 @@ pub enum Shape3d {
impl From<Shape3d> for Shape {
fn from(shape: Shape3d) -> Self {
Self::Shape3d(shape.into())
Self::Shape3d(shape)
}
}