Skip to content

Commit ef56aa6

Browse files
committed
libcore: Add print and println to the prelude
1 parent 36909c7 commit ef56aa6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/libcore/prelude.rs

+4
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ pub use ops::{Shl, Shr, Index};
2121
pub use option::{Option, Some, None};
2222
pub use result::{Result, Ok, Err};
2323

24+
/* Reexported functions */
25+
26+
pub use io::{print, println};
27+
2428
/* Reexported types and traits */
2529

2630
pub use clone::Clone;

0 commit comments

Comments
 (0)