[board] Implement fmt::Display on Square
Prints the square in algebraic notation
This commit is contained in:
parent
769886086c
commit
3b3062108a
2 changed files with 15 additions and 1 deletions
|
|
@ -36,4 +36,5 @@ impl Square {
|
|||
sq_constructor!(f6);
|
||||
sq_constructor!(g3);
|
||||
sq_constructor!(g5);
|
||||
sq_constructor!(h8);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue