about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/debug.rs
diff options
context:
space:
mode:
authorMario Carneiro <di.gama@gmail.com>2022-02-17 20:27:53 -0800
committerGitHub <noreply@github.com>2022-02-17 20:27:53 -0800
commit0f14bea448dfdafccbecbb6302a55191a763562a (patch)
tree94d258d596ea34dc45441d850bb5321c36f40335 /compiler/rustc_mir_transform/src/coverage/debug.rs
parent73a7423e77b49a99e270531fbadda5b8899df3f6 (diff)
downloadrust-0f14bea448dfdafccbecbb6302a55191a763562a.tar.gz
rust-0f14bea448dfdafccbecbb6302a55191a763562a.zip
Optimize char_try_from_u32
The optimization was proposed by @falk-hueffner in https://rust-lang.zulipchat.com/#narrow/stream/219381-t-libs/topic/Micro-optimizing.20char.3A.3Afrom_u32/near/272146171,  and I simplified it a bit and added an explanation of why the optimization is correct.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions