fix fmt
All checks were successful
Rust Checks / checks (push) Successful in 1m28s
Rust Checks / checks (pull_request) Successful in 1m15s

This commit is contained in:
CoCo_Sol 2024-02-21 17:49:20 +01:00
parent 4633db9609
commit 4b1f7008fd

View file

@ -248,8 +248,8 @@ impl<T: Number> HexPosition<T> {
/// # Example
///
/// ```no_run
/// use border_wars::map::hex::HexPosition;
/// use bevy::math::Vec2;
/// use border_wars::map::hex::HexPosition;
///
/// let position = HexPosition(1, 0);
/// assert_eq!(position.to_pixel_coordinates(), (3f32.sqrt(), 0.0).into());