-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor bits::Slice and bits::Iter to reduce number of unsafe blocks
The biggest change is introduction of Slice::split_at method which is then used by other methods (such as starts_with, pop_back_slice etc.). This allows number of unsafe blocks to be reduced.
- Loading branch information
Showing
1 changed file
with
125 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters