summaryrefslogtreecommitdiff
path: root/src/geom/transform.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/geom/transform.rs')
-rw-r--r--src/geom/transform.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/geom/transform.rs b/src/geom/transform.rs
index 40c8e9e4..b82807fd 100644
--- a/src/geom/transform.rs
+++ b/src/geom/transform.rs
@@ -48,8 +48,8 @@ impl Transform {
}
/// Whether this is the identity transformation.
- pub fn is_identity(&self) -> bool {
- *self == Self::identity()
+ pub fn is_identity(self) -> bool {
+ self == Self::identity()
}
/// Pre-concatenate another transformation.