mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-15 21:00:20 +00:00
Improve panic message
This commit is contained in:
parent
fdd53a88aa
commit
cc7936b29b
@ -69,7 +69,10 @@ impl Triangle<2> {
|
|||||||
return Winding::Ccw;
|
return Winding::Ccw;
|
||||||
}
|
}
|
||||||
|
|
||||||
unreachable!("not a triangle")
|
unreachable!(
|
||||||
|
"Points don't form a triangle, but this was verified in the \
|
||||||
|
constructor."
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user