-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove use of slice_ptr_get unstable feature
**Description** Replace use of `NonNull::<[T]>::get_unchecked_mut` function call with a copy from the standard library. This function is used to index into a pointer to a slice (`*const [T]`) and return a pointer to an element (`*const T`) without doing bounds checking. **Motivation** This change is a partial solution towards issue #20. The only remaining unstable feature used is `hasher_prefixfree_extras`. **Testing Done** - `cargo test` - `cargo miri test` - `cargo fmt` - `cargo clippy`
- Loading branch information
Declan Kelly
committed
Nov 21, 2022
1 parent
044d058
commit 6e879e8
Showing
3 changed files
with
31 additions
and
9 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
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
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