Skip to content

Commit

Permalink
libcore: Add print and println to the prelude
Browse files Browse the repository at this point in the history
  • Loading branch information
pcwalton committed Mar 29, 2013
1 parent 36909c7 commit ef56aa6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/libcore/prelude.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

5 comments on commit ef56aa6

@bors
Copy link
Contributor

@bors bors commented on ef56aa6 Mar 29, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from brson
at pcwalton@ef56aa6

@bors
Copy link
Contributor

@bors bors commented on ef56aa6 Mar 29, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging pcwalton/rust/print-in-prelude = ef56aa6 into auto

@bors
Copy link
Contributor

@bors bors commented on ef56aa6 Mar 29, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pcwalton/rust/print-in-prelude = ef56aa6 merged ok, testing candidate = 4e830d1

@bors
Copy link
Contributor

@bors bors commented on ef56aa6 Mar 29, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on ef56aa6 Mar 29, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding incoming to auto = 4e830d1

Please sign in to comment.