1
Fork 0

rustdoc-search: fix description on aliases in results

This needs to start downloading the descriptions after aliases
have been added to the result set.
This commit is contained in:
Michael Howell 2024-04-18 22:20:08 -07:00
parent fa0068b541
commit 2e7d9e9acb
2 changed files with 16 additions and 11 deletions

View file

@ -1,6 +1,10 @@
const EXPECTED = {
'query': '&',
'others': [
{ 'path': 'std', 'name': 'reference' },
{
'path': 'std',
'name': 'reference',
'desc': "References, <code>&amp;T</code> and <code>&amp;mut T</code>.",
},
],
};