add \n
All checks were successful
Rust Checks / checks (push) Successful in 1m23s
Rust Checks / checks (pull_request) Successful in 1m16s

This commit is contained in:
CoCo_Sol 2024-02-14 18:44:33 +01:00
parent b04ed1acf4
commit 0736a2381d

View file

@ -9,6 +9,7 @@ use partial_min_max::{max, min};
/// Represents a number that can be used in a hexagonal grid.
pub trait HexNumber: Signed + PartialEq + Copy + PartialOrd + FromPrimitive {}
impl<T: Signed + PartialEq + Copy + PartialOrd + FromPrimitive> HexNumber for T {}
/// Represents a position in a hexagonal grid.