Export the fen! macro

This commit is contained in:
Eryn Wells 2024-02-25 14:51:32 -08:00
parent 8f07e08500
commit 8a1b16d553

View file

@ -5,6 +5,7 @@ use chessfriend_core::{piece, Color, File, Piece, PlacedPiece, Rank, Square};
use chessfriend_moves::{Castle, EnPassant};
use std::fmt::Write;
#[macro_export]
macro_rules! fen {
($fen_string:literal) => {
Position::from_fen_str($fen_string)