Remove superfluous 'format!' call
This commit is contained in:
parent
a04b1f3a42
commit
1a0aa5fddb
|
@ -18,7 +18,7 @@ pub enum Square {
|
||||||
|
|
||||||
impl std::fmt::Display for Square {
|
impl std::fmt::Display for Square {
|
||||||
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
|
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
|
||||||
write!(f, "{}", format!("{:?}", self))
|
write!(f, "{:?}", self)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue