Fix redundant parens around braced macro call in match arms
This commit is contained in:
parent
10227eaee7
commit
78c8dc1234
3 changed files with 54 additions and 7 deletions
|
@ -780,7 +780,7 @@ impl<'a> State<'a> {
|
|||
}
|
||||
_ => {
|
||||
self.end(); // Close the ibox for the pattern.
|
||||
self.print_expr(body, FixupContext::new_stmt());
|
||||
self.print_expr(body, FixupContext::new_match_arm());
|
||||
self.word(",");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue