about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-reference.js
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-05-20 09:20:49 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-05-23 06:00:57 +1000
commit3fc8f8998c45fbc211b98b5bae04cc87f8eb1619 (patch)
treec222344544f532f17b3e913481f3f242ff929323 /tests/rustdoc-js-std/parser-reference.js
parentc8844dfdc00fbfe4b5e7839635214b744410312f (diff)
downloadrust-3fc8f8998c45fbc211b98b5bae04cc87f8eb1619.tar.gz
rust-3fc8f8998c45fbc211b98b5bae04cc87f8eb1619.zip
Clarify `parse` a little.
- Name the colon span as `colon_span` to distinguish it from the other
  `span` local variable.
- Just use basic pattern matching, which is easier to read than `map_or`.
Diffstat (limited to 'tests/rustdoc-js-std/parser-reference.js')
0 files changed, 0 insertions, 0 deletions