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

Add new Vec::into_array method #211

Merged
merged 1 commit into from Jun 25, 2021

Conversation

GrantM11235
Copy link
Contributor

With the addition of this method, heapless::Vec can be used to safely and easily create an array one element at a time.

I don't have much experience with MaybeUninit, so please double check my implementation.

Copy link
Contributor

@korken89 korken89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@korken89
Copy link
Contributor

bors merge

@korken89 korken89 merged commit 22e4c73 into rust-embedded:master Jun 25, 2021
@GrantM11235 GrantM11235 deleted the vec_into_array branch June 25, 2021 16:46
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

2 participants