[breaking-change] don't glob export ast::MacStmtStyle

This commit is contained in:
Oliver 'ker' Schneider
2016-02-09 11:56:59 +01:00
committed by Oliver Schneider
parent 798974cae5
commit e797e1961d
4 changed files with 13 additions and 14 deletions

View File

@@ -1629,12 +1629,12 @@ impl<'a> State<'a> {
try!(self.space_if_not_bol());
try!(self.print_outer_attributes(attrs.as_attr_slice()));
let delim = match style {
ast::MacStmtWithBraces => token::Brace,
ast::MacStmtStyle::Braces => token::Brace,
_ => token::Paren
};
try!(self.print_mac(&**mac, delim));
match style {
ast::MacStmtWithBraces => {}
ast::MacStmtStyle::Braces => {}
_ => try!(word(&mut self.s, ";")),
}
}