rustdoc-search: allow trailing Foo -> arg search

This commit is contained in:
Michael Howell 2024-09-05 17:58:05 -07:00
parent 9c01301c52
commit 3699e939e8
5 changed files with 81 additions and 14 deletions

View file

@ -251,15 +251,6 @@ const PARSED = [
userQuery: "ab'",
error: "Unexpected `'` after `b` (not a valid identifier)",
},
{
query: "a->",
elems: [],
foundElems: 0,
original: "a->",
returned: [],
userQuery: "a->",
error: "Expected at least one item after `->`",
},
{
query: '"p" <a>',
elems: [],