Add utils for hexagonal grild #50

Merged
tipragot merged 23 commits from hex-utils into main 2024-02-14 17:49:08 +00:00
Showing only changes of commit cfb3de298e - Show all commits

View file

@ -29,7 +29,7 @@ impl HexPosition {
///
/// # Example
///
/// ```
/// ```no_run
/// use border_wars::hex::HexPosition;
///
/// let a = HexPosition { q: 0, r: 0 };
@ -62,7 +62,7 @@ impl HexPosition {
///
/// # Example
///
/// ```
/// ```no_run
/// use border_wars::hex::HexPosition;
///
/// let position = HexPosition { q: 0, r: 0 };