rust/library/core
Mara Bos 0d105c0e77
Rollup merge of #88560 - klensy:formatter-pad-shrink, r=m-ou-se
`fmt::Formatter::pad`: don't call chars().count() more than one time

First commit merges two branches of match to call chars().count() only once: that should be faster if this method hits place of 3rd (previous) branch, plus quarter shorter.
Second commit fixes some clippy lints while i'm here (should it be separate PR?).
2021-09-02 19:10:18 +02:00
..
benches Use HTTPS links where possible 2021-06-23 16:26:46 -04:00
src Rollup merge of #88560 - klensy:formatter-pad-shrink, r=m-ou-se 2021-09-02 19:10:18 +02:00
tests Rollup merge of #88551 - inquisitivecrystal:unsafe_cell_raw_get, r=m-ou-se 2021-09-01 09:23:31 +02:00
Cargo.toml rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00