-
-
Notifications
You must be signed in to change notification settings - Fork 31
Closed
Description
Should behave like String::truncate, ie panic if new_len not on a char boundary. The "same" implementation should work too, although I was expecting DynamicVec::truncate to move from Spilled to Inline if new_len <= 15 but it doesn't seem to do that. I can try making a PR for one or both of these things if they sound like improvements.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels