Skip to content

Commit

Permalink
Simplify rendering of triangles in operation list
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Dec 12, 2024
1 parent 8d04360 commit 020fbbc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions experiments/2024-12-09/src/geometry/primitives.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}

Expand Down

0 comments on commit 020fbbc

Please sign in to comment.