mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-30 16:16:50 +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.