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
|
@ -2515,7 +2515,6 @@ impl<'a> State<'a> {
|
|||
PatKind::Range(ref begin, ref end, Spanned { node: ref end_kind, .. }) => {
|
||||
if let Some(e) = begin {
|
||||
self.print_expr(e);
|
||||
self.space();
|
||||
}
|
||||
match *end_kind {
|
||||
RangeEnd::Included(RangeSyntax::DotDotDot) => self.word("..."),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue