From 8bdc4c4926295a9c376f3d6829bad48e1d102409 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Tue, 26 Mar 2024 11:21:58 +0100 Subject: [PATCH] Update error message --- crates/fj-core/src/algorithms/bounding_volume/cycle.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/fj-core/src/algorithms/bounding_volume/cycle.rs b/crates/fj-core/src/algorithms/bounding_volume/cycle.rs index 8e28b06b3..138583387 100644 --- a/crates/fj-core/src/algorithms/bounding_volume/cycle.rs +++ b/crates/fj-core/src/algorithms/bounding_volume/cycle.rs @@ -11,7 +11,7 @@ impl super::BoundingVolume<2> for &Cycle { for half_edge in cycle.half_edges() { let new_aabb = half_edge .aabb(geometry) - .expect("`Edge` can always compute AABB"); + .expect("`HalfEdge` can always compute AABB"); aabb = Some(aabb.map_or(new_aabb, |aabb| aabb.merged(&new_aabb))); }