Skip to content

Commit

Permalink
make inner value pub for index types
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelkirk committed Dec 19, 2024
1 parent e35499b commit 2b4ded7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions geo/src/algorithm/validation/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::*;
Expand Down

0 comments on commit 2b4ded7

Please sign in to comment.