Skip to content

Commit

Permalink
Return upper bound in plain binary decoder
Browse files Browse the repository at this point in the history
  • Loading branch information
jhorstmann authored and jorgecarleitao committed May 19, 2021
1 parent 6c40bdb commit 7aa9e4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/encoding/plain_byte_array/decoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ impl<'a> Iterator for Decoder<'a> {
}

fn size_hint(&self) -> (usize, Option<usize>) {
(self.remaining, None)
(self.remaining, Some(self.remaining))
}
}

0 comments on commit 7aa9e4f

Please sign in to comment.