Clippy Fix
This commit is contained in:
parent
79f2651262
commit
948a2dee09
@ -675,13 +675,8 @@ fn next_token(&mut self) -> Option<SyntaxToken> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else if let syntax::NodeOrToken::Token(token) = token {
|
||||||
match token {
|
return Some(token);
|
||||||
syntax::NodeOrToken::Token(token) => {
|
|
||||||
return Some(token);
|
|
||||||
}
|
|
||||||
_ => (),
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
WalkEvent::Leave(ele) => {
|
WalkEvent::Leave(ele) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user