This commit is contained in:
Cyryl Płotnicki 2021-05-16 11:51:33 +01:00
parent 1083853070
commit 12dce7e676

View file

@ -69,7 +69,7 @@ impl Lock {
break;
}
}
if locks.iter().count() == 0 {
if locks.is_empty() {
return Ok(false);
}
Ok(only_mine)