change doc
Some checks failed
Rust Checks / checks (pull_request) Failing after 24m48s
Rust Checks / checks (push) Failing after 36m2s

This commit is contained in:
CoCo_Sol 2024-02-13 22:05:55 +01:00
parent 2ed99e91b2
commit 01c93e13de

View file

@ -106,7 +106,7 @@ impl HexPosition {
/// ///
/// let hex = HexPosition { q: 0, r: 0 }; /// let hex = HexPosition { q: 0, r: 0 };
/// let positions = hex.range(1); /// let positions = hex.range(1);
/// assert_eq!(positions.0.len(), 6); /// assert_eq!(positions.0.len(), 7);
/// ``` /// ```
pub fn range(&self, range: i32) -> GroupHexPosition { pub fn range(&self, range: i32) -> GroupHexPosition {
let mut positions = HashSet::new(); let mut positions = HashSet::new();