From bb9e8d4daab281fab95a96e0a016e5237a569b9b Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Thu, 14 Dec 2023 12:54:20 +0100 Subject: [PATCH] Be more explicit about selecting shell --- models/holes/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/holes/src/lib.rs b/models/holes/src/lib.rs index b090a0d7b..937319f45 100644 --- a/models/holes/src/lib.rs +++ b/models/holes/src/lib.rs @@ -22,7 +22,7 @@ pub fn model( let cuboid = cuboid::model([size * 2., size, size], services); cuboid - .update_shell(cuboid.shells().first(), |shell| { + .update_shell(cuboid.shells().only(), |shell| { let bottom_face = shell.faces().first(); let offset = size / 2.; let depth = size / 2.;