Fix whitespace in pretty printed PatKind::Range

This commit is contained in:
David Tolnay
2021-12-29 12:51:10 -08:00
parent df96fb166f
commit bc1a1ff3c8
10 changed files with 12 additions and 14 deletions

View File

@@ -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("..."),