diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-05-20 09:20:49 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-05-23 06:00:57 +1000 |
| commit | 3fc8f8998c45fbc211b98b5bae04cc87f8eb1619 (patch) | |
| tree | c222344544f532f17b3e913481f3f242ff929323 /tests/rustdoc-js-std/parser-reference.js | |
| parent | c8844dfdc00fbfe4b5e7839635214b744410312f (diff) | |
| download | rust-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
