Skip to content

Commit

Permalink
Auto merge of #131929 - LaihoE:replace_default_capacity, r=joboet
Browse files Browse the repository at this point in the history
better default capacity for str::replace

Adds smarter capacity for str::replace in cases where we know that the output will be at least as long as the original string.
  • Loading branch information
bors committed Oct 23, 2024
2 parents 3246588 + 07f7ec0 commit 783f4e3
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 783f4e3

Please sign in to comment.