diff --git a/board/src/move.rs b/board/src/move.rs index 2f74331..de8ed68 100644 --- a/board/src/move.rs +++ b/board/src/move.rs @@ -228,6 +228,12 @@ mod move_formatter { Long, } + impl Default for Style { + fn default() -> Self { + Style::Long + } + } + pub(crate) struct AlgebraicMoveFormatter<'m, 'pos> { position: &'pos Position, r#move: &'m Move, @@ -242,7 +248,7 @@ mod move_formatter { AlgebraicMoveFormatter { position, r#move: mv, - style: Style::Short, + style: Style::default(), } }