diff --git a/src/geometry/point.rs b/src/geometry/point.rs index 1ccad408..35f8cdbc 100644 --- a/src/geometry/point.rs +++ b/src/geometry/point.rs @@ -458,10 +458,8 @@ where DefaultAllocator: Allocator, { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { - let precision = f.precision().unwrap_or(3); - write!(f, "Point {{")?; - write!(f, "{:.*}", precision, self.coords)?; + self.coords.fmt(f)?; write!(f, "}}") } }