You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
elliot-u410
changed the title
Add a snoc or similar function
Add snoc or a similar method
Dec 1, 2021
I'm new to this library so I'm possibly missing this, but
Vector
has+
for vectors but nosnoc
for appending a single item and getting back a new vector as a result. The best you can do currently isclone
into amut
and thenpush_back
. That seems like much ado about nothing.The text was updated successfully, but these errors were encountered: