diff --git a/src/rect/region.rs b/src/rect/region.rs index 7419130d..fa2dbf69 100644 --- a/src/rect/region.rs +++ b/src/rect/region.rs @@ -74,7 +74,7 @@ impl Region { }) } - pub fn union_cow<'a>(self: &'a Self, other: &'a Self) -> Cow<'a, Region> { + pub fn union_cow<'a>(&'a self, other: &'a Self) -> Cow<'a, Region> { if self.extents.is_empty() { return Cow::Borrowed(other); }