1
0
Fork 0
forked from wry/wry

all: fix clippy lints

This commit is contained in:
Julian Orth 2025-07-27 21:06:54 +02:00
parent c61a04c3d3
commit f98437f58a

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