bitvec
bitvec copied to clipboard
Fix documentation of bounds on argument `by` for `BitArray::shift_end` and `shift_start`
trafficstars
Fixes #250
I changed the assert message, but it might make more sense to change the assertion itself to by < len instead of by <= len, since we only run the assertion if by is not equal to len.
I am pretty certain the documentation change is correct.