Fix lint
This commit is contained in:
parent
1083853070
commit
12dce7e676
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ impl Lock {
|
|||
break;
|
||||
}
|
||||
}
|
||||
if locks.iter().count() == 0 {
|
||||
if locks.is_empty() {
|
||||
return Ok(false);
|
||||
}
|
||||
Ok(only_mine)
|
||||
|
|
Loading…
Reference in a new issue