Merge pull request #555 from mahkoh/jorth/clippy4
all: fix clippy lints
This commit is contained in:
commit
4da33a59f6
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() {
|
if self.extents.is_empty() {
|
||||||
return Cow::Borrowed(other);
|
return Cow::Borrowed(other);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue