Commit 8e043ab
committed
rustdoc-search: show type signature on type-driven SERP
This displays the function signature, as rustdoc understands it,
on the In Parameters, In Return Types, and In Function Signature
pages, but not in the In Names page, since it's not used there.
It also highlights the matching parts, to clarify why a function
is considered a good match.1 parent b67985e commit 8e043ab
File tree
6 files changed
+557
-161
lines changed- src
- librustdoc/html/static
- css
- js
- tools/rustdoc-js
- tests/rustdoc-js
6 files changed
+557
-161
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
331 | | - | |
| 331 | + | |
332 | 332 | | |
333 | 333 | | |
334 | | - | |
| 334 | + | |
| 335 | + | |
335 | 336 | | |
336 | 337 | | |
337 | 338 | | |
| |||
681 | 682 | | |
682 | 683 | | |
683 | 684 | | |
684 | | - | |
| 685 | + | |
| 686 | + | |
685 | 687 | | |
686 | 688 | | |
687 | 689 | | |
| |||
0 commit comments