Update panic message

This commit is contained in:
Hanno Braun 2023-08-18 13:09:42 +02:00
parent c6df4c9d18
commit 93bac19946

View File

@ -302,9 +302,7 @@ impl ShellValidationError {
let curve = HandleWrapper::from(edge.curve().clone()); let curve = HandleWrapper::from(edge.curve().clone());
let bounding_vertices = cycle let bounding_vertices = cycle
.bounding_vertices_of_edge(edge) .bounding_vertices_of_edge(edge)
.expect( .expect("Cycle should provide bounds of its own edge")
"Cycle should provide bounds of its own half-edge",
)
.normalize(); .normalize();
let edge = (curve, bounding_vertices); let edge = (curve, bounding_vertices);