Skip to content

Commit

Permalink
Merge pull request #35 from JayKickliter/jsk/cell-is-hash
Browse files Browse the repository at this point in the history
impl Hash for Cell
  • Loading branch information
JayKickliter authored Jan 4, 2024
2 parents e6923d6 + c64216d commit 730f71d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cell.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use std::{convert::TryFrom, fmt};
/// `Index`.
///
/// [index manipulation]: https://observablehq.com/@nrabinowitz/h3-index-bit-layout?collection=@nrabinowitz/h3
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)]
#[cfg_attr(
feature = "serde",
derive(serde::Serialize, serde::Deserialize),
Expand Down Expand Up @@ -130,7 +130,7 @@ impl Index {
}

/// [HexTreeMap][crate::HexTreeMap]'s key type.
#[derive(Copy, Clone, PartialEq, Eq)]
#[derive(Clone, Copy, Eq, Hash, PartialEq)]
#[cfg_attr(
feature = "serde",
derive(serde::Serialize, serde::Deserialize),
Expand Down

0 comments on commit 730f71d

Please sign in to comment.