From b4d64930441efbb2843591186f935095c81769e2 Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Wed, 11 Dec 2024 12:37:31 -0800 Subject: [PATCH] make inner value pub for index types --- geo/src/algorithm/validation/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/geo/src/algorithm/validation/mod.rs b/geo/src/algorithm/validation/mod.rs index 73e47e4a8..69baccc70 100644 --- a/geo/src/algorithm/validation/mod.rs +++ b/geo/src/algorithm/validation/mod.rs @@ -118,11 +118,11 @@ impl fmt::Display for RingRole { /// The position of the problem in a multi-geometry, starting at 0. #[derive(Debug, PartialEq, Clone)] -pub struct GeometryIndex(usize); +pub struct GeometryIndex(pub usize); /// The index of the coordinate in the geometry #[derive(Debug, PartialEq, Eq, Clone)] -pub struct CoordIndex(usize); +pub struct CoordIndex(pub usize); #[cfg(test)] pub(crate) use test_macros::*;