Auto merge of #87449 - matthiaskrgr:clippyy_v2, r=nagisa
more clippy::complexity fixes (also a couple of clippy::perf fixes)
This commit is contained in:
commit
aadd6189ad
32 changed files with 44 additions and 51 deletions
|
@ -1867,7 +1867,7 @@ fn parse_extern_dep_specs(
|
|||
)
|
||||
});
|
||||
|
||||
let locparts: Vec<_> = loc.split(":").collect();
|
||||
let locparts: Vec<_> = loc.split(':').collect();
|
||||
let spec = match &locparts[..] {
|
||||
["raw", ..] => {
|
||||
// Don't want `:` split string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue