Fix pretty printer

This commit is contained in:
Adolfo Ochagavía 2015-01-23 10:15:56 +01:00
parent aa3fe20522
commit 5af4df4a26

View File

@ -781,6 +781,7 @@ impl<'a> State<'a> {
}
fn print_typedef(&mut self, typedef: &ast::Typedef) -> IoResult<()> {
try!(self.print_outer_attributes(&typedef.attrs[]));
try!(self.word_space("type"));
try!(self.print_ident(typedef.ident));
try!(space(&mut self.s));