Skip to content

Commit

Permalink
pp: print spaces around '=' in 'extern mod blah = "blah"'
Browse files Browse the repository at this point in the history
  • Loading branch information
ben0x539 committed Oct 7, 2013
1 parent 8eb28bb commit e007f94
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libsyntax/print/pprust.rs
Expand Up @@ -1895,7 +1895,9 @@ pub fn print_view_item(s: @ps, item: &ast::view_item) {
head(s, "extern mod");
print_ident(s, id);
for p in optional_path.iter() {
space(s.s);
word(s.s, "=");
space(s.s);
print_string(s, *p);
}
if !mta.is_empty() {
Expand Down

0 comments on commit e007f94

Please sign in to comment.