mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 18:57:19 +00:00

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.