fix fallout from libsyntax enumpocalypse

This commit is contained in:
Alex Burka
2016-02-11 12:52:39 -05:00
parent 7eb7c56bd4
commit 1ec3005e45
3 changed files with 3 additions and 3 deletions

View File

@@ -2163,7 +2163,7 @@ impl<'a> State<'a> {
try!(self.print_expr(&index));
try!(word(&mut self.s, "]"));
}
ast::ExprKing::Range(ref start, ref end, limits) => {
ast::ExprKind::Range(ref start, ref end, limits) => {
if let &Some(ref e) = start {
try!(self.print_expr(&e));
}