about summary refs log tree commit diff
path: root/src/libnative
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-02-14 10:10:06 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-02-14 22:55:21 -0800
commita41b0c25295e06b8eebc4bdcb3021354f766cba0 (patch)
treed1b3262191eb927bc9e0535318676d711e2a655d /src/libnative
parent359ac360a453b31494d18bf838f6620032a663e5 (diff)
downloadrust-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/libnative')
-rw-r--r--src/libnative/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libnative/lib.rs b/src/libnative/lib.rs
index 4840c561289..c28a1175494 100644
--- a/src/libnative/lib.rs
+++ b/src/libnative/lib.rs
@@ -17,7 +17,7 @@
 //! # Starting with libnative
 //!
 //! ```rust
-//! extern mod native;
+//! extern crate native;
 //!
 //! #[start]
 //! fn start(argc: int, argv: **u8) -> int { native::start(argc, argv, main) }
@@ -30,7 +30,7 @@
 //! # Force spawning a native task
 //!
 //! ```rust
-//! extern mod native;
+//! extern crate native;
 //!
 //! fn main() {
 //!     // We're not sure whether this main function is run in 1:1 or M:N mode.