Pārlūkot izejas kodu

Debug spew cleanup

Kevin Lee 4 mēneši atpakaļ
vecāks
revīzija
76e164b7df
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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)
     }
 }