From 020fbbc35c95902dce600a5b0d4d562697663637 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Thu, 12 Dec 2024 23:21:31 +0100 Subject: [PATCH] Simplify rendering of triangles in operation list --- experiments/2024-12-09/src/geometry/primitives.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/experiments/2024-12-09/src/geometry/primitives.rs b/experiments/2024-12-09/src/geometry/primitives.rs index 01d81e06e..16e800df2 100644 --- a/experiments/2024-12-09/src/geometry/primitives.rs +++ b/experiments/2024-12-09/src/geometry/primitives.rs @@ -57,8 +57,7 @@ where impl fmt::Display for Triangle { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - let [a, b, c] = self.vertices; - write!(f, "triangle {a} - {b} - {c}") + write!(f, "triangle") } }