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 realized that to_vec requires T: Clone for Vec<T> so we are just coping the slice into the vector anyway. I think we should take ownership of a vector, especially since it's alloc only anyway.
The text was updated successfully, but these errors were encountered:
I realized that
to_vec
requiresT: Clone
forVec<T>
so we are just coping the slice into the vector anyway. I think we should take ownership of a vector, especially since it'salloc
only anyway.The text was updated successfully, but these errors were encountered: