about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2013-03-28 19:12:48 -0700
committerPatrick Walton <pcwalton@mimiga.net>2013-03-28 19:16:06 -0700
commitef56aa62fb4d672d04e5634bad001d427aa6b553 (patch)
tree42065a993011b4fa98c5556328bc3ccc885a65a5
parent36909c7575e2ddfe2925423aceb62d82ae8208b2 (diff)
downloadrust-ef56aa62fb4d672d04e5634bad001d427aa6b553.tar.gz
rust-ef56aa62fb4d672d04e5634bad001d427aa6b553.zip
libcore: Add `print` and `println` to the prelude
-rw-r--r--src/libcore/prelude.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libcore/prelude.rs b/src/libcore/prelude.rs
index 0194e8f009c..9c3bf04b2a8 100644
--- a/src/libcore/prelude.rs
+++ b/src/libcore/prelude.rs
@@ -21,6 +21,10 @@ pub use ops::{Shl, Shr, Index};
 pub use option::{Option, Some, None};
 pub use result::{Result, Ok, Err};
 
+/* Reexported functions */
+
+pub use io::{print, println};
+
 /* Reexported types and traits */
 
 pub use clone::Clone;