about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-10-16 22:53:50 +0000
committerbors <bors@rust-lang.org>2020-10-16 22:53:50 +0000
commitf1b97ee7f8ffb1a814944b85c7e05a1555a7eda5 (patch)
treea09ab9ebf54ef7a50003494a066bbc48f429b2ac /compiler/rustc_codegen_llvm/src/builder.rs
parente3051d8c24467b54c81da9d9ad70a3e82e106ec1 (diff)
parent0b062887db9be8fe05791411dd08ca35683cedc8 (diff)
downloadrust-f1b97ee7f8ffb1a814944b85c7e05a1555a7eda5.tar.gz
rust-f1b97ee7f8ffb1a814944b85c7e05a1555a7eda5.zip
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`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions