Skip to content

Commit 4d26bde

Browse files
Extend handleSingleArg documentation
1 parent 8d0e10c commit 4d26bde

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/librustdoc/html/static/js/search.js

+4
Original file line numberDiff line numberDiff line change
@@ -1246,6 +1246,10 @@ window.initSearch = function(rawSearchIndex) {
12461246

12471247
/**
12481248
* This function is called in case the query is only one element (with or without generics).
1249+
* This element will be compared to arguments' and returned values' items and also to items.
1250+
*
1251+
* Other important thing to note: since there is only one element, we use levenshtein
1252+
* distance for name comparisons.
12491253
*
12501254
* @param {Row} row
12511255
* @param {integer} pos - Position in the `searchIndex`.

0 commit comments

Comments
 (0)