mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-02 06:28:20 +03:00
9fb66969e3
Using short-circuiting operators makes it easier to perform some kinds of source code analysis, like MC/DC code coverage (a requirement in safety-critical environments). The optimized x86_64 assembly is the same between the old and new versions: ``` mov eax, edi add dl, -1 sbb eax, esi setb dl ret ```