[board] Use $crate in the fen! macro so you don't have to import Board to get one back
This commit is contained in:
parent
74c0e4144f
commit
8db533cb52
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ use thiserror::Error;
|
||||||
macro_rules! fen {
|
macro_rules! fen {
|
||||||
($fen_string:literal) => {{
|
($fen_string:literal) => {{
|
||||||
use $crate::fen::FromFenStr;
|
use $crate::fen::FromFenStr;
|
||||||
Board::from_fen_str($fen_string)
|
$crate::Board::from_fen_str($fen_string)
|
||||||
}};
|
}};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue