summaryrefslogtreecommitdiff
path: root/src/geom/linear.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-08-31 16:25:12 +0200
committerLaurenz <laurmaedje@gmail.com>2021-08-31 16:25:12 +0200
commit7f48e8fe6668c5b2fdc62cc70e6bcffb744f411c (patch)
tree6ec437098d9f6df511cfbc0805ac51af288c4eec /src/geom/linear.rs
parent3481d8cc81a2b3a14118869c7f0ffe204ff3efc8 (diff)
Make user-facing "debug" representation use Debug instead of Display
Diffstat (limited to 'src/geom/linear.rs')
-rw-r--r--src/geom/linear.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/geom/linear.rs b/src/geom/linear.rs
index 6a20b826..494007b0 100644
--- a/src/geom/linear.rs
+++ b/src/geom/linear.rs
@@ -53,12 +53,6 @@ impl Debug for Linear {
}
}
-impl Display for Linear {
- fn fmt(&self, f: &mut Formatter) -> fmt::Result {
- write!(f, "{} + {}", self.rel, self.abs)
- }
-}
-
impl From<Length> for Linear {
fn from(abs: Length) -> Self {
Self { rel: Relative::zero(), abs }