about summary refs log tree commit diff
path: root/src/libarena
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/libarena
parent359ac360a453b31494d18bf838f6620032a663e5 (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.rs7
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,