Export the fen! macro
This commit is contained in:
parent
8f07e08500
commit
8a1b16d553
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@ use chessfriend_core::{piece, Color, File, Piece, PlacedPiece, Rank, Square};
|
||||||
use chessfriend_moves::{Castle, EnPassant};
|
use chessfriend_moves::{Castle, EnPassant};
|
||||||
use std::fmt::Write;
|
use std::fmt::Write;
|
||||||
|
|
||||||
|
#[macro_export]
|
||||||
macro_rules! fen {
|
macro_rules! fen {
|
||||||
($fen_string:literal) => {
|
($fen_string:literal) => {
|
||||||
Position::from_fen_str($fen_string)
|
Position::from_fen_str($fen_string)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue