diff --git a/crates/fj-math/src/triangle.rs b/crates/fj-math/src/triangle.rs index 78f9836f4..54504870e 100644 --- a/crates/fj-math/src/triangle.rs +++ b/crates/fj-math/src/triangle.rs @@ -69,7 +69,10 @@ impl Triangle<2> { return Winding::Ccw; } - unreachable!("not a triangle") + unreachable!( + "Points don't form a triangle, but this was verified in the \ + constructor." + ) } }