Skip to content

Conversation

Twixes
Copy link

@Twixes Twixes commented Oct 16, 2021

One thing I need that I'm missing from this nice crate is the ability to overwrite a specific segment of an ArrayVec with a provided iterable. This is possible with (std::vec::) Vec::splice, so this PR basically ports that to ArrayVec. Likely this port is not optimal (but it does work in all tested cases), so any advice on further adjustments appreciated.

@bluss bluss added this to the 0.8 milestone Oct 28, 2021
@Twixes
Copy link
Author

Twixes commented Oct 28, 2021

Oops, tests were failing because they depended on std::array::IntoIter iterating by value, but that possibility was added in 1.53 and doesn't work on 1.51 that CI is using. Should be fixed now.

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.

2 participants