Skip to content

Commit

Permalink
Attempt to fix #7
Browse files Browse the repository at this point in the history
  • Loading branch information
dermesser committed Mar 4, 2020
1 parent 0105f7b commit 4b8e92c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ impl VarIntProcessor {
(self.i > 0 && (self.buf[self.i - 1] & MSB == 0))
}
fn decode<VI: VarInt>(&self) -> VI {
VI::decode_var(&self.buf[0..=self.i]).0
VI::decode_var(&self.buf[0..self.i]).0
}
}

Expand Down

0 comments on commit 4b8e92c

Please sign in to comment.