about summary refs log tree commit diff
path: root/src/libcore/core.rc
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2012-04-11 21:45:18 -0700
committerNiko Matsakis <niko@alum.mit.edu>2012-04-27 16:57:50 -0700
commite348567f77be77db01fc6d2f9184ef38adfdbf4d (patch)
tree506459b46a38cfb7b0f4d53cc37caeb5bc12e34b /src/libcore/core.rc
parent5eca3c2210964e8987fea250224544b22a6f6520 (diff)
downloadrust-e348567f77be77db01fc6d2f9184ef38adfdbf4d.tar.gz
rust-e348567f77be77db01fc6d2f9184ef38adfdbf4d.zip
new, simpler approach to the iter library
Diffstat (limited to 'src/libcore/core.rc')
-rw-r--r--src/libcore/core.rc15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/libcore/core.rc b/src/libcore/core.rc
index f32895fb7ae..fa423809404 100644
--- a/src/libcore/core.rc
+++ b/src/libcore/core.rc
@@ -42,6 +42,9 @@ export extfmt;
 export tuple;
 export to_str;
 
+// NDM seems to be necessary for resolve to work
+export vec_iter, option_iter;
+
 // FIXME: This creates some APIs that I do not want to commit to. It is
 // currently exported for the uv code in std, but when that code moves into
 // core this should become unexported
@@ -144,16 +147,25 @@ mod f64;
 mod str;
 mod ptr;
 mod vec;
+#[path="iter-trait"]
+mod vec_iter {
+    #[path = "vec.rs"]
+    mod inst;
+}
 mod bool;
 mod tuple;
 
-
 // Ubiquitous-utility-type modules
 
 mod either;
 mod iter;
 mod logging;
 mod option;
+#[path="iter-trait"]
+mod option_iter {
+    #[path = "option.rs"]
+    mod inst;
+}
 mod result;
 mod to_str;
 
@@ -195,5 +207,4 @@ mod cmath;
 // indent-tabs-mode: nil
 // c-basic-offset: 4
 // buffer-file-coding-system: utf-8-unix
-// compile-command: "make -k -C .. 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
 // End: