Inclusive range updated to ..= syntax

This commit is contained in:
Badel2
2017-11-03 18:17:44 +01:00
parent 525b81d570
commit 4bd6be9dc6
4 changed files with 10 additions and 13 deletions

View File

@@ -2203,7 +2203,7 @@ impl<'a> State<'a> {
if limits == ast::RangeLimits::HalfOpen {
self.s.word("..")?;
} else {
self.s.word("...")?;
self.s.word("..=")?;
}
if let Some(ref e) = *end {
self.print_expr_maybe_paren(e, fake_prec)?;