From 8fb9a14ea0d450715f81496950668dfcd1f14f83 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Wed, 16 Mar 2022 16:42:09 +0100 Subject: [PATCH] Fix Clippy warning --- fj/src/shape_3d.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fj/src/shape_3d.rs b/fj/src/shape_3d.rs index b9274089f..0491f2d27 100644 --- a/fj/src/shape_3d.rs +++ b/fj/src/shape_3d.rs @@ -16,7 +16,7 @@ pub enum Shape3d { impl From for Shape { fn from(shape: Shape3d) -> Self { - Self::Shape3d(shape.into()) + Self::Shape3d(shape) } }