|
@@ -141,7 +141,7 @@ pub struct Coordinate {
|
|
|
|
|
|
impl Display for Coordinate {
|
|
impl Display for Coordinate {
|
|
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
|
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
|
- write!(f, "({}, {})", self.x, self.y)
|
|
|
|
|
|
+ write!(f, "({:.2}, {:.2})", self.x, self.y)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|