From f98437f58a3ad485502e9e364c3b561841bd914d Mon Sep 17 00:00:00 2001 From: Julian Orth Date: Sun, 27 Jul 2025 21:06:54 +0200 Subject: [PATCH] all: fix clippy lints --- src/rect/region.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }