[moves] Mark generated moves with square brackets
Update the implementation of Display for GeneratedMove to wrap the ply in [ ].
This commit is contained in:
parent
6cca3a0f52
commit
a9674e3215
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ impl GeneratedMove {
|
|||
|
||||
impl std::fmt::Display for GeneratedMove {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||
self.ply.fmt(f)
|
||||
write!(f, "[{}]", self.ply)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue