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 snoc or a similar method #195

Open
elliot-u410 opened this issue Dec 1, 2021 · 0 comments
Open

Add snoc or a similar method #195

elliot-u410 opened this issue Dec 1, 2021 · 0 comments

Comments

@elliot-u410
Copy link

I'm new to this library so I'm possibly missing this, but Vector has + for vectors but no snoc for appending a single item and getting back a new vector as a result. The best you can do currently is clone into a mut and then push_back. That seems like much ado about nothing.

@elliot-u410 elliot-u410 changed the title Add a snoc or similar function Add snoc or a similar method Dec 1, 2021
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

No branches or pull requests

1 participant