mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-10 06:47:34 +00:00
Auto merge of #8870 - Serial-ATA:issue-8865, r=xFrednet
Strip `clippy::` prefix from search strings changelog: none closes: #8865 r? `@xFrednet`
This commit is contained in:
commit
3642e33015
@ -232,6 +232,9 @@
|
||||
return true;
|
||||
}
|
||||
searchStr = searchStr.toLowerCase();
|
||||
if (searchStr.startsWith("clippy::")) {
|
||||
searchStr = searchStr.slice(8);
|
||||
}
|
||||
|
||||
// Search by id
|
||||
if (lint.id.indexOf(searchStr.replace("-", "_")) !== -1) {
|
||||
|
Loading…
Reference in New Issue
Block a user