Skip to content

Commit e007f94

Browse files
committed
pp: print spaces around '=' in 'extern mod blah = "blah"'
1 parent 8eb28bb commit e007f94

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libsyntax/print/pprust.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1895,7 +1895,9 @@ pub fn print_view_item(s: @ps, item: &ast::view_item) {
18951895
head(s, "extern mod");
18961896
print_ident(s, id);
18971897
for p in optional_path.iter() {
1898+
space(s.s);
18981899
word(s.s, "=");
1900+
space(s.s);
18991901
print_string(s, *p);
19001902
}
19011903
if !mta.is_empty() {

0 commit comments

Comments
 (0)