-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hybrid-array: make
ArrayOps
better resemble core arrays (#1003)
...and asserts as much by impl'ing the trait for core arrays. The main notable change is bounding on `AsRef<[T]>`/`AsMut<[T]>`, which core arrays do impl, however they *don't* actually impl `AsRef<[T; N]>`/`AsMut<[T; N]>`. Those impls are retained on `Array`, but new ones added for `AsRef<[T]>`/`AsMut<[T]>`, providing better parity with core arrays.
- Loading branch information
Showing
2 changed files
with
64 additions
and
2 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