1
0
Fork 0
forked from wry/wry

Merge pull request #555 from mahkoh/jorth/clippy4

all: fix clippy lints
This commit is contained in:
mahkoh 2025-07-27 21:09:51 +02:00 committed by GitHub
commit 4da33a59f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);
}