about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/string-from_ut.js
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-04-18 08:37:49 +0200
committerGitHub <noreply@github.com>2024-04-18 08:37:49 +0200
commit2c7ef790652fcdc90bdd75e4e49026bec44c14b7 (patch)
tree5c7620e7c96221aff2a49dfaae0beb15924d440b /tests/rustdoc-js-std/string-from_ut.js
parent7add0bdf7e8dbe45a9caa6027547e4351b9ab9f5 (diff)
parentd3c30519956ca989f64f53410cdb95e22913e942 (diff)
downloadrust-2c7ef790652fcdc90bdd75e4e49026bec44c14b7.tar.gz
rust-2c7ef790652fcdc90bdd75e4e49026bec44c14b7.zip
Rollup merge of #124064 - Zalathar:otherwise-block, r=Nadrieril
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`.

r? ``@Nadrieril``
Diffstat (limited to 'tests/rustdoc-js-std/string-from_ut.js')
0 files changed, 0 insertions, 0 deletions