diff --git a/fj-math/src/scalar.rs b/fj-math/src/scalar.rs index 072d5d985..797a33dae 100644 --- a/fj-math/src/scalar.rs +++ b/fj-math/src/scalar.rs @@ -512,6 +512,12 @@ impl fmt::Debug for Scalar { } } +impl fmt::Display for Scalar { + fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + self.0.fmt(f) + } +} + impl approx::AbsDiffEq for Scalar { type Epsilon = ::Epsilon;