rust/library/alloc
bors f1b97ee7f8 Auto merge of #77997 - fusion-engineering-forks:to-string-no-shrink, r=joshtriplett
Remove shrink_to_fit from default ToString::to_string implementation.

As suggested by `@scottmcm` on Zulip. shrink_to_fit() seems like the wrong thing to do here in most use cases of to_string(). Would be intereseting to see if it makes any difference in a timer run.

r? `@joshtriplett`
2020-10-16 22:53:50 +00:00
..
benches Rust vec bench import specific rand::RngCore 2020-09-25 22:19:28 +08:00
src Auto merge of #77997 - fusion-engineering-forks:to-string-no-shrink, r=joshtriplett 2020-10-16 22:53:50 +00:00
tests Auto merge of #74194 - mbrubeck:slice-eq, r=sfackler 2020-10-07 01:20:11 +00:00
Cargo.toml