Skip to content

Conversation

@tarcieri
Copy link
Member

@tarcieri tarcieri commented Sep 1, 2025

Gated on the alloc feature, added in #136.

These are cooresponding changes which allow conversions the other way.

The owned conversion moves array elements into a Box<[T]> or Vec<T>.

The borrowed conversion bounds on T: Clone ala the upstream impls in liballoc.

Gated on the `alloc` feature, added in #136

These are cooresponding changes which allow conversions the other way.

The owned conversion moves array elements into a `Box<[T]>` or `Vec<T>`.

The borrowed conversion bounds on `T: Clone` ala the upstream impls in
liballoc.
@tarcieri tarcieri merged commit 7e1d297 into master Sep 1, 2025
14 checks passed
@tarcieri tarcieri deleted the from-array-to-box-and-vec branch September 1, 2025 18:35
@tarcieri tarcieri mentioned this pull request Sep 1, 2025
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