Explorar o código

Debug spew cleanup

Kevin Lee hai 4 meses
pai
achega
76e164b7df
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/ezcad/types.rs

+ 1 - 1
src/ezcad/types.rs

@@ -141,7 +141,7 @@ pub struct Coordinate {
 
 impl Display for Coordinate {
     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)
     }
 }