diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-04-19 19:30:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-19 19:30:49 +0200 |
| commit | f8afb6314b3a092c727125a77c00a49459da045d (patch) | |
| tree | 55b6f96db2a4cd24c19523485e48fbc01989724b /tests | |
| parent | 26d4b1bfbae5d3e752359cd1367e16271c5f36e1 (diff) | |
| parent | 2e7d9e9acbdb48620e347529796bf1e35fd97c19 (diff) | |
| download | rust-f8afb6314b3a092c727125a77c00a49459da045d.tar.gz rust-f8afb6314b3a092c727125a77c00a49459da045d.zip | |
Rollup merge of #124149 - notriddle:notriddle/desc-alias, r=GuillaumeGomez
rustdoc-search: fix description on aliases in results This needs to start downloading the descriptions after aliases have been added to the result set.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/rustdoc-js-std/alias-1.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/rustdoc-js-std/alias-1.js b/tests/rustdoc-js-std/alias-1.js index b27b3da2179..c31d1a3b1ad 100644 --- a/tests/rustdoc-js-std/alias-1.js +++ b/tests/rustdoc-js-std/alias-1.js @@ -1,6 +1,10 @@ const EXPECTED = { 'query': '&', 'others': [ - { 'path': 'std', 'name': 'reference' }, + { + 'path': 'std', + 'name': 'reference', + 'desc': "References, <code>&T</code> and <code>&mut T</code>.", + }, ], }; |
