rustdoc-search: add support for associated types
This commit is contained in:
parent
9a66e4471f
commit
63c50712f4
21 changed files with 1390 additions and 124 deletions
12
tests/rustdoc-js/trait-methods.js
Normal file
12
tests/rustdoc-js/trait-methods.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
// exact-check
|
||||
|
||||
const EXPECTED = [
|
||||
{
|
||||
'query': 'mytrait<t> -> option<t>',
|
||||
'correction': null,
|
||||
'in_args': [],
|
||||
'others': [
|
||||
{ 'path': 'trait_methods::MyTrait', 'name': 'next' },
|
||||
],
|
||||
},
|
||||
];
|
Loading…
Add table
Add a link
Reference in a new issue