bitvec icon indicating copy to clipboard operation
bitvec copied to clipboard

Fix documentation of bounds on argument `by` for `BitArray::shift_end` and `shift_start`

Open albertsgarde opened this issue 1 year ago • 0 comments
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.

albertsgarde avatar Nov 28 '23 17:11 albertsgarde