From ef56aa62fb4d672d04e5634bad001d427aa6b553 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Thu, 28 Mar 2013 19:12:48 -0700 Subject: [PATCH] libcore: Add `print` and `println` to the prelude --- src/libcore/prelude.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libcore/prelude.rs b/src/libcore/prelude.rs index 0194e8f009c6a..9c3bf04b2a8f5 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;