Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gostkin committed Nov 14, 2023
1 parent 177c0b8 commit df20fd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fraos/src/seqno.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ impl SeqNoIndex {
// if index is empty we checked already
while start < len.saturating_sub(1) {
// we checked before that we have at least one zero and it is ok to access start + 1
if self.get_length_at(start)? != 0 && self.get_length_at(start + 1)? == 0 {
if self.get_length_at(start + 1)? == 0 {
return Ok(start + 1);
}
let mid = (start + end) / 2;
Expand Down

0 comments on commit df20fd7

Please sign in to comment.