diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-11-21 23:46:19 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-21 23:46:19 +0100 |
| commit | bdb929e7889a1ecaabe3240c3027388c2df5479a (patch) | |
| tree | f7804eb0253c32063d09c2e0aaa58ff77dfa87d6 /tests/rustdoc-js-std/parser-slice-array.js | |
| parent | a98698e9c41314f71636a356a319658fd4709d66 (diff) | |
| parent | 28f17d97a9e7276a383e11e91ef2d4159e670726 (diff) | |
| download | rust-bdb929e7889a1ecaabe3240c3027388c2df5479a.tar.gz rust-bdb929e7889a1ecaabe3240c3027388c2df5479a.zip | |
Rollup merge of #118109 - notriddle:notriddle/search-cleanup-2, r=GuillaumeGomez
rustdoc-search: simplify `checkPath` and `sortResults` These two commits reduce the amount of code in search.js with no noticeable change in performance. https://notriddle.com/rustdoc-html-demo-5/profile-5/index.html
Diffstat (limited to 'tests/rustdoc-js-std/parser-slice-array.js')
| -rw-r--r-- | tests/rustdoc-js-std/parser-slice-array.js | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/rustdoc-js-std/parser-slice-array.js b/tests/rustdoc-js-std/parser-slice-array.js index c22b7870dbf..239391bed42 100644 --- a/tests/rustdoc-js-std/parser-slice-array.js +++ b/tests/rustdoc-js-std/parser-slice-array.js @@ -43,16 +43,16 @@ const PARSED = [ pathWithoutLast: [], pathLast: "[]", generics: [], - typeFilter: 15, + typeFilter: 1, }, ], - typeFilter: 15, + typeFilter: 1, }, ], - typeFilter: 15, + typeFilter: 1, }, ], - typeFilter: 15, + typeFilter: 1, }, ], foundElems: 1, @@ -70,7 +70,7 @@ const PARSED = [ pathWithoutLast: [], pathLast: "[]", generics: [], - typeFilter: 15, + typeFilter: 1, }, { name: "u8", @@ -105,7 +105,7 @@ const PARSED = [ typeFilter: -1, }, ], - typeFilter: 15, + typeFilter: 1, }, ], foundElems: 1, @@ -140,7 +140,7 @@ const PARSED = [ typeFilter: -1, }, ], - typeFilter: 15, + typeFilter: 1, }, ], foundElems: 1, @@ -176,7 +176,7 @@ const PARSED = [ typeFilter: -1, }, ], - typeFilter: 15, + typeFilter: 1, }, ], foundElems: 1, @@ -194,7 +194,7 @@ const PARSED = [ pathWithoutLast: [], pathLast: "[]", generics: [], - typeFilter: 15, + typeFilter: 1, }, ], foundElems: 1, @@ -284,7 +284,7 @@ const PARSED = [ typeFilter: -1, }, ], - typeFilter: 15, + typeFilter: 1, }, ], foundElems: 1, |
