Join GitHub today
Feature request: String::replace_in_place #56415
Essentially, this can avoid allocating extra memory under the condition that the replacement is smaller than the searched expression. If the replacement is larger, a
I'm cool providing a PR for this but I figured I'd post this here anyway, as a tracking issue will be needed anyway.