From a41b0c25295e06b8eebc4bdcb3021354f766cba0 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 14 Feb 2014 10:10:06 -0800 Subject: extern mod => extern crate This was previously implemented, and it just needed a snapshot to go through --- src/libnative/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libnative') 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. -- cgit 1.4.1-3-g733a5