Fix Clippy warning

This commit is contained in:
Hanno Braun 2022-03-16 16:50:46 +01:00
parent 3d279a6a87
commit 4c1d69e889

View File

@ -13,7 +13,7 @@ pub extern "C" fn model(_: &HashMap<String, String>) -> fj::Shape {
];
let cube_a = fj::Sketch::from_points(vertices).sweep(1.0);
let cube_b = cube_a.clone().translate([1.5, 0., 0.5]);
let cube_b = cube_a.translate([1.5, 0., 0.5]);
let group = cube_a.group(&cube_b);