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
|
@ -684,7 +684,7 @@ mod parse {
|
|||
Some(v) => v,
|
||||
};
|
||||
|
||||
*slot = Some(match v.trim_end_matches("s") {
|
||||
*slot = Some(match v.trim_end_matches('s') {
|
||||
"statement" | "stmt" => MirSpanview::Statement,
|
||||
"terminator" | "term" => MirSpanview::Terminator,
|
||||
"block" | "basicblock" => MirSpanview::Block,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue