diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-08-21 16:38:51 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-08-21 17:30:21 +0200 |
| commit | 0dd4ae0a7ac0c247078df492469ff20b8a90c886 (patch) | |
| tree | 07a55343b9ccab3fe76b0f1b0de9d1be310d8b14 /src/geom/linear.rs | |
| parent | f38eb10c2b54bd13ccef119454839f6a66448462 (diff) | |
Prune derives
Diffstat (limited to 'src/geom/linear.rs')
| -rw-r--r-- | src/geom/linear.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/geom/linear.rs b/src/geom/linear.rs index 38d19b13..6a20b826 100644 --- a/src/geom/linear.rs +++ b/src/geom/linear.rs @@ -47,15 +47,15 @@ impl Linear { } } -impl Display for Linear { +impl Debug for Linear { fn fmt(&self, f: &mut Formatter) -> fmt::Result { - write!(f, "{} + {}", self.rel, self.abs) + write!(f, "{:?} + {:?}", self.rel, self.abs) } } -impl Debug for Linear { +impl Display for Linear { fn fmt(&self, f: &mut Formatter) -> fmt::Result { - write!(f, "{:?} + {:?}", self.rel, self.abs) + write!(f, "{} + {}", self.rel, self.abs) } } |
