We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 435ab86 commit 2fb5affCopy full SHA for 2fb5aff
src/visitor.rs
@@ -72,11 +72,7 @@ impl<'a> FmtVisitor<'a> {
72
ast::StmtKind::Item(ref item) => {
73
self.visit_item(item);
74
}
75
- ast::StmtKind::Local(..) => {
76
- let rewrite = stmt.rewrite(&self.get_context(), self.shape());
77
- self.push_rewrite(stmt.span(), rewrite);
78
- }
79
- ast::StmtKind::Expr(..) | ast::StmtKind::Semi(..) => {
+ ast::StmtKind::Local(..) | ast::StmtKind::Expr(..) | ast::StmtKind::Semi(..) => {
80
let rewrite = stmt.rewrite(&self.get_context(), self.shape());
81
self.push_rewrite(stmt.span(), rewrite)
82
0 commit comments