We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 240a763 commit 538a542Copy full SHA for 538a542
[refs]
@@ -1,2 +1,2 @@
1
---
2
-refs/heads/master: e9b2487db73a6088267650538f20d12c5a5dbf33
+refs/heads/master: 300eb3011355d81f95b79de4ca85e6190f1935a4
trunk/src/comp/syntax/print/pprust.rs
@@ -448,6 +448,11 @@ fn print_item(&ps s, &@ast::item item) {
448
}
449
word_nbsp(s, "mod");
450
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
+ }
456
bopen(s);
457
print_native_mod(s, nmod, item.attrs);
458
bclose(s, item.span);
0 commit comments