about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/string-from_ut.js
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2024-04-17 19:31:30 +1000
committerZalathar <Zalathar@users.noreply.github.com>2024-04-17 19:59:39 +1000
commitd3c30519956ca989f64f53410cdb95e22913e942 (patch)
tree1df2ea592d76f4d2a3233ec41b751f05d044b676 /tests/rustdoc-js-std/string-from_ut.js
parent6c6b3027ef62e911142cfc55589baef4e9f38ec8 (diff)
downloadrust-d3c30519956ca989f64f53410cdb95e22913e942.tar.gz
rust-d3c30519956ca989f64f53410cdb95e22913e942.zip
Move confusing comment about otherwise blocks in `lower_match_tree`
This comment was historically inside a block guarded by
`if let Some(otherwise_block) = otherwise`.

When #120978 made the otherwise block non-optional, it also flattened that
region of code. Doing so left this comment awkwardly stranded above an
unrelated line of code, without its original context.

We can restore that context by moving it above the declaration of `otherwise`.
Diffstat (limited to 'tests/rustdoc-js-std/string-from_ut.js')
0 files changed, 0 insertions, 0 deletions