summaryrefslogtreecommitdiff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev+love@gmail.com>2023-01-11 14:18:56 +0900
committerGitHub <noreply@github.com>2023-01-11 14:18:56 +0900
commitfeca61e5eb807d53f478da5dc64a9f10200a7182 (patch)
treea26c776e43f040e22792fc677e5f7a61ee2b7d11 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent80c3ec84a66bcf69e79693ef09c60654c6b407be (diff)
parent203bbfa2f76090e51e237da1017de19497b36d0e (diff)
downloadrust-feca61e5eb807d53f478da5dc64a9f10200a7182.tar.gz
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 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions