generated from tipragot/rust
Add utils for hexagonal grild #50
|
@ -29,7 +29,7 @@ impl HexPosition {
|
||||||
///
|
///
|
||||||
/// # Example
|
/// # Example
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```no_run
|
||||||
/// use border_wars::hex::HexPosition;
|
/// use border_wars::hex::HexPosition;
|
||||||
///
|
///
|
||||||
/// let a = HexPosition { q: 0, r: 0 };
|
/// let a = HexPosition { q: 0, r: 0 };
|
||||||
|
@ -62,7 +62,7 @@ impl HexPosition {
|
||||||
///
|
///
|
||||||
/// # Example
|
/// # Example
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```no_run
|
||||||
/// use border_wars::hex::HexPosition;
|
/// use border_wars::hex::HexPosition;
|
||||||
///
|
///
|
||||||
/// let position = HexPosition { q: 0, r: 0 };
|
/// let position = HexPosition { q: 0, r: 0 };
|
||||||
|
|
Loading…
Reference in a new issue