all: fix clippy lints
This commit is contained in:
parent
c61a04c3d3
commit
f98437f58a
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue