Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix int_in_range using more bytes than necessary
`offset` counts the number of bytes but the range is shifted as if it counted the number of bits. This causes int_in_range to consume more bytes than necessary. The `int_in_range::<u32>(0..=u8::MAX)` case from the new test fails without this commit.
- Loading branch information