about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-08-29 17:46:29 +0000
committerbors <bors@rust-lang.org>2021-08-29 17:46:29 +0000
commitae0b03bc6b4e1544f43b9a8053bdb0f0ed4a19e1 (patch)
tree42249083f8e03da1de24a7b775c1d2e6e182954d /compiler/rustc_mir_transform/src
parentdaa4dc997c777676b0f0e48d0311cc5e7bde5f87 (diff)
parentc565339c37def41500c6d3175c2db3be8c5c4f76 (diff)
downloadrust-ae0b03bc6b4e1544f43b9a8053bdb0f0ed4a19e1.tar.gz
rust-ae0b03bc6b4e1544f43b9a8053bdb0f0ed4a19e1.zip
Auto merge of #88262 - klensy:pprust-cow, r=nagisa
Cow'ify some pprust methods

Reduce number of potential needless de/allocations by using `Cow<'static, str>` instead of explicit `String` type.
Diffstat (limited to 'compiler/rustc_mir_transform/src')
0 files changed, 0 insertions, 0 deletions