Skip to content

Commit

Permalink
Update geo-traits/src/coord.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Corey Farwell <[email protected]>
  • Loading branch information
kylebarron and frewsxcv authored Oct 25, 2024
1 parent 2b77691 commit 711dfac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geo-traits/src/coord.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub trait CoordTrait {
fn dim(&self) -> Dimensions;

/// Access the n'th (0-based) element of the CoordinateTuple.
/// Returns NaN if `n >= DIMENSION`.
/// Returns `None` if `n >= DIMENSION`.
/// See also [`nth_unchecked()`](Self::nth_unchecked).
fn nth(&self, n: usize) -> Option<Self::T> {
if n < self.dim().size() {
Expand Down

0 comments on commit 711dfac

Please sign in to comment.