Skip to content

Commit 2f14d0a

Browse files
Add code comment explaining better what Row.name is for doc aliases
1 parent c079c96 commit 2f14d0a

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
@@ -219,6 +219,8 @@ declare namespace rustdoc {
219219
crate: string,
220220
descShard: SearchDescShard,
221221
id: number,
222+
// This is the name of the item. For doc aliases, if you want the name of the aliased
223+
// item, take a look at `Row.original.name`.
222224
name: string,
223225
normalizedName: string,
224226
word: string,

0 commit comments

Comments
 (0)