]> git.lizzy.rs Git - rust.git/commit
Auto merge of #53927 - ljedrz:save_analysis_cleanups, r=oli-obk
authorbors <bors@rust-lang.org>
Tue, 4 Sep 2018 02:50:59 +0000 (02:50 +0000)
committerbors <bors@rust-lang.org>
Tue, 4 Sep 2018 02:50:59 +0000 (02:50 +0000)
commit8b80390ead05671f0344a6208891f152cbb7a68c
treebaf834a5973ec408098c0d080d5e896b78bd832f
parentc7fc1a55a2fe3766e66f6424a34bbc7625efc009
parent9883dd73aa799ec73fb1ec31a189871265b137bf
Auto merge of #53927 - ljedrz:save_analysis_cleanups, r=oli-obk

A few cleanups and minor improvements to save_analysis

- calculate the capacity of some `Vec`s
- change`to_owned()` to `clone()` for the purposes of `lower_attributes`
- remove a superfluous `clone()`
- prefer `to_owned()` to `to_string()`
- a few other minor improvements