Fix whitespace in pretty printed PatKind::Range
This commit is contained in:
parent
df96fb166f
commit
bc1a1ff3c8
10 changed files with 12 additions and 14 deletions
|
@ -1948,7 +1948,6 @@ impl<'a> State<'a> {
|
|||
PatKind::Range(ref begin, ref end, ref end_kind) => {
|
||||
if let Some(expr) = begin {
|
||||
self.print_expr(expr);
|
||||
self.space();
|
||||
}
|
||||
match *end_kind {
|
||||
RangeEnd::Included => self.word("..."),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue