diff --git a/crates/border-wars/src/hex.rs b/crates/border-wars/src/hex.rs index 1924365..07e1b8d 100644 --- a/crates/border-wars/src/hex.rs +++ b/crates/border-wars/src/hex.rs @@ -106,7 +106,7 @@ impl HexPosition { /// /// let hex = HexPosition { q: 0, r: 0 }; /// let positions = hex.range(1); - /// assert_eq!(positions.0.len(), 6); + /// assert_eq!(positions.0.len(), 7); /// ``` pub fn range(&self, range: i32) -> GroupHexPosition { let mut positions = HashSet::new();