Skip to content

impls for Box/Rc/Arc<[T]> and <str>#4

Open
Jazzpirate wants to merge 7 commits intooperutka:masterfrom
Jazzpirate:master
Open

impls for Box/Rc/Arc<[T]> and <str>#4
Jazzpirate wants to merge 7 commits intooperutka:masterfrom
Jazzpirate:master

Conversation

@Jazzpirate
Copy link
Copy Markdown

@Jazzpirate Jazzpirate commented Oct 24, 2025

The blanket Deserialize implementations for Box/Rc/Arc<T> implicitly have Sized as trait bounds, but implementations for (dynamically sized) boxed Arrays and Box<str> etc. are easily possible and serde already supports them (via Vec and String). This PR adds the same implementations for boxed arrays and strings.

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