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
Truncate deletes all entries after offset. This makes it impossible to remove the first element, because it is retained even when truncate(0). I believe it is for this reason that truncate on Vec also truncates the element passed.
Truncate deletes all entries after offset. This makes it impossible to remove the first element, because it is retained even when
truncate(0)
. I believe it is for this reason that truncate on Vec also truncates the element passed.I'd be happy to open a PR on this if I knew what direction you wanted to take it. New method or update the old one?
The text was updated successfully, but these errors were encountered: