mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 20:09:19 +00:00
a lot of clippy::style fixes
This commit is contained in:
parent
ae7e55c1dd
commit
202b51bc7b
19 changed files with 52 additions and 69 deletions
|
@ -239,9 +239,8 @@ impl Subtree {
|
|||
|
||||
let mut res = String::new();
|
||||
res.push_str(delim.0);
|
||||
let mut iter = self.token_trees.iter();
|
||||
let mut last = None;
|
||||
while let Some(child) = iter.next() {
|
||||
for child in &self.token_trees {
|
||||
let s = match child {
|
||||
TokenTree::Leaf(it) => {
|
||||
let s = match it {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue