-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
port from ~[T] to Vec<T> #11875
Comments
cc me |
The |
(also nominating) |
@alexcrichton: The |
Oh sorry, I should have read the issue more closely! |
cc me |
cc me |
Keeping this metabug around no longer makes sense, since the blockers didn't actually end up blocking it. |
Fix `box_default` behaviour with empty `vec![]` coming from macro arg Fix rust-lang#11868 changelog: [`box_default`]: do not warn on `Box::new(vec![])` if the `vec![]` comes from a macro argument
Annoying issues, but not hard blockers:
This is a significant performance improvement for any vectors that are grown, and will reduce heap allocation since zero-length vectors do not allocate and it does not have a header.
I moved the priority tag here from the old issue, as this is the same core issue but without the distractions of past issues and discussions that are no longer relevant.
The text was updated successfully, but these errors were encountered: