-
Notifications
You must be signed in to change notification settings - Fork 151
Support std::iter::extend<T> for VecLike<T> #27
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
Conversation
@bors-servo r+ |
📌 Commit 215d763 has been approved by |
☔ The latest upstream changes (presumably #26) made this pull request unmergeable. Please resolve the merge conflicts. |
Superseded by #26. |
(not fully -- this PR also adds an |
🔒 Merge conflict |
Oh right. Could you rebase it? |
Adding a bound is a breaking change for implementors. Please change the version number accordingly. |
Rebased! I'll leave it to you to update the version number. |
@bors-servo r=nox |
📌 Commit e7e970a has been approved by |
⚡ Test exempted - status |
Support std::iter::extend<T> for VecLike<T> VecLike naturally supports push, so it also makes sense to support extend. Both implementors SmallVec and Vec already have tested implementations, so this extension feels natural. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-smallvec/27) <!-- Reviewable:end -->
VecLike naturally supports push, so it also makes sense to support extend. Both implementors SmallVec and Vec already have tested implementations, so this extension feels natural.
This change is