summaryrefslogtreecommitdiff
path: root/src/geom/linear.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/geom/linear.rs')
-rw-r--r--src/geom/linear.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/geom/linear.rs b/src/geom/linear.rs
index 4a0def2f..77923c43 100644
--- a/src/geom/linear.rs
+++ b/src/geom/linear.rs
@@ -42,7 +42,7 @@ impl Linear {
}
/// Whether there is a linear component.
- pub fn is_relative(&self) -> bool {
+ pub fn is_relative(self) -> bool {
!self.rel.is_zero()
}
}