auto merge of #11547 : b1nd/rust/rust-doc, r=alexcrichton

closes #10535
This commit is contained in:
bors 2014-01-14 20:56:39 -08:00
commit e063e96ec9

View File

@ -171,14 +171,6 @@
return [];
}
results.forEach(function(item) {
for (var i = 0; i < split.length; i++) {
if (item[3].indexOf(split[i]) === -1) {
item = null;
break;
}
}
});
// sort by exact match
results.sort(function search_complete_sort0(aaa, bbb) {
if (searchWords[aaa[0]] === valLower && searchWords[bbb[0]] !== valLower) {
@ -551,4 +543,4 @@
}
initSearch(searchIndex);
}());
}());