mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-15 13:36:49 +00:00
redundant type specified
This commit is contained in:
parent
a1c246b1c4
commit
8d61216957
@ -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…
Reference in New Issue
Block a user