diff options
| author | Yuki Okushi <huyuumi.dev+love@gmail.com> | 2023-01-11 14:18:56 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-11 14:18:56 +0900 |
| commit | feca61e5eb807d53f478da5dc64a9f10200a7182 (patch) | |
| tree | a26c776e43f040e22792fc677e5f7a61ee2b7d11 /src/test/rustdoc-ui/coverage/enum-tuple-documented.rs | |
| parent | 80c3ec84a66bcf69e79693ef09c60654c6b407be (diff) | |
| parent | 203bbfa2f76090e51e237da1017de19497b36d0e (diff) | |
| download | rust-feca61e5eb807d53f478da5dc64a9f10200a7182.tar.gz rust-feca61e5eb807d53f478da5dc64a9f10200a7182.zip | |
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.
Diffstat (limited to 'src/test/rustdoc-ui/coverage/enum-tuple-documented.rs')
0 files changed, 0 insertions, 0 deletions
