mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 22:31:43 +00:00
redundant type specified
This commit is contained in:
parent
a1c246b1c4
commit
8d61216957
1 changed files with 1 additions and 1 deletions
|
@ -1483,7 +1483,7 @@ fn make_body(
|
|||
};
|
||||
|
||||
let body_indent = IndentLevel(1);
|
||||
let elements: Vec<SyntaxElement> = elements
|
||||
let elements = elements
|
||||
.into_iter()
|
||||
.map(|node_or_token| match &node_or_token {
|
||||
syntax::NodeOrToken::Node(node) => match ast::Stmt::cast(node.clone()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue