-
Notifications
You must be signed in to change notification settings - Fork 1
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 NonEmptyVec::push #5
Comments
Thanks for the interests. Also, |
When you say fallible you mean because the OS could run out of memory? It seems fine to panic in that case. |
And what about |
it is a bad idea. People could use |
So I thought a bit and found that I need more evident about the use case for |
I don't feel very strongly about it, it just seemed an obvious addition to the API. |
Yeah, the current inner implementation allows use easily adding Alright, back to your concern in the first post:
Maybe. But |
And in general any methods that only allow adding to the vec but not removing. Otherwise it's really just a
Box<NonEmptySlice>
which doesn't seem to pull it's weight.The text was updated successfully, but these errors were encountered: