mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 07:41:23 +01:00
remove redundant condition
This commit is contained in:
parent
799594cd1f
commit
d6475eee6d
1 changed files with 1 additions and 1 deletions
|
|
@ -570,5 +570,5 @@ where
|
||||||
|
|
||||||
/// Returns `true` if two paths overlap.
|
/// Returns `true` if two paths overlap.
|
||||||
fn overlap(a: &Path, b: &Path) -> bool {
|
fn overlap(a: &Path, b: &Path) -> bool {
|
||||||
a == b || a.starts_with(b) || b.starts_with(a)
|
a.starts_with(b) || b.starts_with(a)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue