From 01c93e13deb7e675a897d74307caeb358bb65d37 Mon Sep 17 00:00:00 2001 From: CoCoSol007 Date: Tue, 13 Feb 2024 22:05:55 +0100 Subject: [PATCH] change doc --- crates/border-wars/src/hex.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();