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
We have a slice_push_back builtin but it'd also be helpful to have a append method to slices that loops over a slice and adds it to the end of another.
Happy Case
This does not need to be builtin:
fnappend(mutself,other:Self) -> Self{for elem in other {self = self.push_back(elem);}self}
Alternatives Considered
No response
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response
The text was updated successfully, but these errors were encountered:
Problem
We have a
slice_push_back
builtin but it'd also be helpful to have aappend
method to slices that loops over a slice and adds it to the end of another.Happy Case
This does not need to be builtin:
Alternatives Considered
No response
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response
The text was updated successfully, but these errors were encountered: