Skip to content

Commit 46e0728

Browse files
Update src/librustdoc/html/static/js/rustdoc.d.ts
Co-authored-by: lolbinarycat <[email protected]>
1 parent 695f185 commit 46e0728

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/librustdoc/html/static/js/rustdoc.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,8 @@ declare namespace rustdoc {
249249

250250
/**
251251
* A function signature in the search index database
252+
*
253+
* Note that some non-function items (eg. constants, struct fields) have a function signature so they can appear in type-based search.
252254
*/
253255
interface FunctionData {
254256
functionSignature: FunctionSearchType|null,

0 commit comments

Comments
 (0)