about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/osstring-to-string.js
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2024-02-28 18:21:24 +1100
committerZalathar <Zalathar@users.noreply.github.com>2024-02-29 20:24:43 +1100
commita7832b14b14e1af2e1e8a2cbf56b5b797892bee3 (patch)
tree425eb067391b674aebb522ac25758078975aedb1 /tests/rustdoc-js-std/osstring-to-string.js
parentd3d145ea1cae47ad392173f890577788117da3d9 (diff)
downloadrust-a7832b14b14e1af2e1e8a2cbf56b5b797892bee3.tar.gz
rust-a7832b14b14e1af2e1e8a2cbf56b5b797892bee3.zip
Make the success arms of `if lhs || rhs` meet up in a separate block
In the previous code, the success block of `lhs` would jump directly to the
success block of `rhs`. However, `rhs_success_block` could already contain
statements that are specific to the RHS, and the direct goto causes them to be
executed in the LHS success path as well.

This patch therefore creates a fresh block that the LHS and RHS success blocks
can both jump to.
Diffstat (limited to 'tests/rustdoc-js-std/osstring-to-string.js')
0 files changed, 0 insertions, 0 deletions