Skip to content

Conversation

@tarcieri
Copy link
Member

This makes porting existing generic-array code easier, and also means deref coercion will allow &Array<T, _> to deref to &[T], making it usable anywhere a slice is.

This makes porting existing `generic-array` code easier, and also means
deref coercion will allow `&Array<T, _>` to deref to `&[T]`, making it
usable anywhere a slice is.
@tarcieri tarcieri merged commit 14b1e13 into master May 31, 2023
@tarcieri tarcieri deleted the hybrid-array/slice-as-deref-target branch May 31, 2023 00:02
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.

1 participant