Skip to content

Commit 3642e33

Browse files
committed
Auto merge of rust-lang#8870 - Serial-ATA:issue-8865, r=xFrednet
Strip `clippy::` prefix from search strings changelog: none closes: rust-lang#8865 r? `@xFrednet`
2 parents 91644d1 + 0fd03a8 commit 3642e33

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

util/gh-pages/script.js

+3
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,9 @@
232232
return true;
233233
}
234234
searchStr = searchStr.toLowerCase();
235+
if (searchStr.startsWith("clippy::")) {
236+
searchStr = searchStr.slice(8);
237+
}
235238

236239
// Search by id
237240
if (lint.id.indexOf(searchStr.replace("-", "_")) !== -1) {

0 commit comments

Comments
 (0)