diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-02-14 10:10:06 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-02-14 22:55:21 -0800 |
| commit | a41b0c25295e06b8eebc4bdcb3021354f766cba0 (patch) | |
| tree | d1b3262191eb927bc9e0535318676d711e2a655d /src/libsyntax/print/pprust.rs | |
| parent | 359ac360a453b31494d18bf838f6620032a663e5 (diff) | |
| download | rust-a41b0c25295e06b8eebc4bdcb3021354f766cba0.tar.gz rust-a41b0c25295e06b8eebc4bdcb3021354f766cba0.zip | |
extern mod => extern crate
This was previously implemented, and it just needed a snapshot to go through
Diffstat (limited to 'src/libsyntax/print/pprust.rs')
| -rw-r--r-- | src/libsyntax/print/pprust.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index bb2f345ac28..ceaa7d1a9a1 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -2061,7 +2061,7 @@ pub fn print_view_item(s: &mut State, item: &ast::ViewItem) -> io::IoResult<()> if_ok!(print_visibility(s, item.vis)); match item.node { ast::ViewItemExternMod(id, ref optional_path, _) => { - if_ok!(head(s, "extern mod")); + if_ok!(head(s, "extern crate")); if_ok!(print_ident(s, id)); for &(ref p, style) in optional_path.iter() { if_ok!(space(&mut s.s)); |
