Simplify rendering of triangles in operation list

This commit is contained in:
Hanno Braun 2024-12-12 23:21:31 +01:00
parent 8d043600e9
commit 020fbbc35c

View File

@ -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")
}
}