Skip to content

Commit 538a542

Browse files
committed
---
yaml --- r: 4163 b: refs/heads/master c: 300eb30 h: refs/heads/master i: 4161: c64069d 4159: 72678da v: v3
1 parent 240a763 commit 538a542

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: e9b2487db73a6088267650538f20d12c5a5dbf33
2+
refs/heads/master: 300eb3011355d81f95b79de4ca85e6190f1935a4

trunk/src/comp/syntax/print/pprust.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,11 @@ fn print_item(&ps s, &@ast::item item) {
448448
}
449449
word_nbsp(s, "mod");
450450
word_nbsp(s, item.ident);
451+
if !str::eq(nmod.native_name, item.ident) {
452+
word_space(s, "=");
453+
print_string(s, nmod.native_name);
454+
nbsp(s);
455+
}
451456
bopen(s);
452457
print_native_mod(s, nmod, item.attrs);
453458
bclose(s, item.span);

0 commit comments

Comments
 (0)