diff --git a/src/board/square.rs b/src/board/square.rs index b5a033c..0d58c2b 100644 --- a/src/board/square.rs +++ b/src/board/square.rs @@ -18,7 +18,7 @@ pub enum Square { impl std::fmt::Display for Square { fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { - write!(f, "{}", format!("{:?}", self)) + write!(f, "{:?}", self) } }