Add lifetime to prepare for follow-on change

This commit is contained in:
Hanno Braun 2024-05-21 21:43:43 +02:00
parent aeb5ac8131
commit 43b924ed69

View File

@ -72,10 +72,10 @@ pub enum ShellValidationError {
impl ShellValidationError { impl ShellValidationError {
/// Check that each half-edge is part of a pair /// Check that each half-edge is part of a pair
fn check_half_edge_pairs( fn check_half_edge_pairs<'r>(
shell: &Shell, shell: &'r Shell,
geometry: &Geometry, geometry: &'r Geometry,
errors: &mut Vec<ValidationError>, errors: &'r mut Vec<ValidationError>,
) { ) {
let mut unmatched_half_edges = BTreeMap::new(); let mut unmatched_half_edges = BTreeMap::new();