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/libarena | |
| parent | 359ac360a453b31494d18bf838f6620032a663e5 (diff) | |
extern mod => extern crate
This was previously implemented, and it just needed a snapshot to go through
Diffstat (limited to 'src/libarena')
| -rw-r--r-- | src/libarena/lib.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/libarena/lib.rs b/src/libarena/lib.rs index 6639e7b3ab7..d827e45eddb 100644 --- a/src/libarena/lib.rs +++ b/src/libarena/lib.rs @@ -22,9 +22,7 @@ #[allow(missing_doc)]; #[feature(managed_boxes)]; -extern mod collections; - -#[cfg(test)] extern mod extra; +extern crate collections; use collections::list::{List, Cons, Nil}; use collections::list; @@ -506,8 +504,9 @@ impl<T> Drop for TypedArena<T> { #[cfg(test)] mod test { + extern crate extra; use super::{Arena, TypedArena}; - use extra::test::BenchHarness; + use self::extra::test::BenchHarness; struct Point { x: int, |
