mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 03:25:55 +00:00
e600c0ba0e
This makes sense, since the search index has the information in it, and it's more useful for function signature searches since a function signature search's item type is, by definition, some type of function (there's more than one, but not very many).
28 lines
600 B
JavaScript
28 lines
600 B
JavaScript
const QUERY = ['R<P>'];
|
|
|
|
const PARSED = [
|
|
{
|
|
elems: [{
|
|
name: "r",
|
|
fullPath: ["r"],
|
|
pathWithoutLast: [],
|
|
pathLast: "r",
|
|
generics: [
|
|
{
|
|
name: "p",
|
|
fullPath: ["p"],
|
|
pathWithoutLast: [],
|
|
pathLast: "p",
|
|
generics: [],
|
|
},
|
|
],
|
|
typeFilter: -1,
|
|
}],
|
|
foundElems: 1,
|
|
original: "R<P>",
|
|
returned: [],
|
|
userQuery: "r<p>",
|
|
error: null,
|
|
}
|
|
];
|