Commit 6459121
authored
Rollup merge of #118856 - notriddle:notriddle/search-js, r=GuillaumeGomez
rustdoc-search: clean up parser
The `c === "="` was redundant when `isSeparatorCharacter` already checks that.
The function `isStopCharacter` and `isEndCharacter` functions did exactly the same thing and have synonymous names. There doesn't seem much point in having both.1 file changed
+2
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | 301 | | |
306 | 302 | | |
307 | 303 | | |
| |||
617 | 613 | | |
618 | 614 | | |
619 | 615 | | |
620 | | - | |
621 | | - | |
| 616 | + | |
622 | 617 | | |
623 | 618 | | |
624 | 619 | | |
| |||
917 | 912 | | |
918 | 913 | | |
919 | 914 | | |
920 | | - | |
| 915 | + | |
921 | 916 | | |
922 | 917 | | |
923 | 918 | | |
| |||
0 commit comments