reformat the world
This commit is contained in:
@@ -17,8 +17,6 @@ pub(crate) fn validate_block_node(node: &ast::Block, errors: &mut Vec<SyntaxErro
|
||||
_ => {}
|
||||
}
|
||||
}
|
||||
errors.extend(
|
||||
node.attrs()
|
||||
.map(|attr| SyntaxError::new(InvalidBlockAttr, attr.syntax().range())),
|
||||
)
|
||||
errors
|
||||
.extend(node.attrs().map(|attr| SyntaxError::new(InvalidBlockAttr, attr.syntax().range())))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user