Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hybrid-array: re-add AsRef<[T; N]>/AsMut<[T; N]> impls #1031

Merged
merged 1 commit into from
Dec 31, 2023

Conversation

tarcieri
Copy link
Member

@tarcieri tarcieri commented Dec 31, 2023

These were removed in #1026 for more consistency with core arrays and so inference would work by eliminating overlapping impls.

However, generic-array provides these impls, which makes removing them problematic when migrating generic-array-based code, so it's easier to keep them around, even if it breaks inference due to overlapping impls.

These were removed in #1026 for more consistency with core arrays.

However, `generic-array` provides these impls, which makes removing them
problematic when migrating `generic-array`-based code, so it's easier to
keep them around, even if it breaks inference due to overlapping impls.
@tarcieri tarcieri merged commit 37c1560 into master Dec 31, 2023
11 checks passed
@tarcieri tarcieri deleted the hybrid-array/re-add-asref-asmut branch December 31, 2023 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant