summaryrefslogtreecommitdiff
path: root/src/geom/length.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-11-04 09:30:44 +0100
committerLaurenz <laurmaedje@gmail.com>2022-11-04 11:38:09 +0100
commiteb951c008beea502042db4a3a0e8d1f8b51f6f52 (patch)
tree9856ee4ed0222222669de10e616a580b2a60135e /src/geom/length.rs
parent33928a00dc58250e24da1dae4e5db17e7b598d70 (diff)
Style changes
Diffstat (limited to 'src/geom/length.rs')
-rw-r--r--src/geom/length.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/geom/length.rs b/src/geom/length.rs
index cd526f99..230ea48b 100644
--- a/src/geom/length.rs
+++ b/src/geom/length.rs
@@ -92,10 +92,7 @@ impl Add for Length {
type Output = Self;
fn add(self, rhs: Self) -> Self::Output {
- Self {
- abs: self.abs + rhs.abs,
- em: self.em + rhs.em,
- }
+ Self { abs: self.abs + rhs.abs, em: self.em + rhs.em }
}
}