rust/library
Yuki Okushi feca61e5eb
Rollup merge of #106662 - Ezrashaw:specialize-bool-tostring, r=cuviper
specialize impl of `ToString` on `bool`

Fixes #106611

Specialize `bool`s `ToString` impl by copying it from `Display`. This is a significant optimization as we avoid lots of dynamic dispatch. AFAIK, this doesn't require a API Change Proposal as this doesn't regress existing code and can be undone without regressing code.
2023-01-11 14:18:56 +09:00
..
alloc impl: specialize impl of ToString on bool 2023-01-10 15:34:21 +13:00
backtrace@07872f28cd
core Rollup merge of #105034 - HintringerFabian:improve_iterator_flatten_doc, r=cuviper 2023-01-10 08:05:32 +09:00
panic_abort Replace libstd, libcore, liballoc in line comments. 2022-12-30 14:00:42 +01:00
panic_unwind Replace libstd, libcore, liballoc in docs. 2022-12-30 14:00:40 +01:00
portable-simd Fix rustdoc lints 2022-11-06 17:21:22 -05:00
proc_macro Replace libstd, libcore, liballoc in line comments. 2022-12-30 14:00:42 +01:00
profiler_builtins
rtstartup
rustc-std-workspace-alloc Replace libstd, libcore, liballoc in line comments. 2022-12-30 14:00:42 +01:00
rustc-std-workspace-core
rustc-std-workspace-std
std std test: better type name, clarifying comment 2023-01-09 16:08:26 +01:00
stdarch@790411f93c
test Fix a few clippy lints in libtest 2023-01-03 18:55:03 +00:00
unwind Replace libstd, libcore, liballoc in line comments. 2022-12-30 14:00:42 +01:00