Strip clippy::
prefix from search strings
This commit is contained in:
parent
91644d1f1d
commit
0fd03a85de
@ -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