Skip to content

Commit

Permalink
Added note about prelude inclusion.
Browse files Browse the repository at this point in the history
  • Loading branch information
steveklabnik committed May 19, 2013
1 parent e0b1bdc commit 929050d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/libcore/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1593,7 +1593,8 @@ pub fn stderr() -> @Writer { fd_writer(libc::STDERR_FILENO as c_int, false) }
*
* # Examples
* ~~~
* core::io::print("hello");
* // print is imported into the prelude, and so is always available.
* print("hello");
* ~~~
*/
pub fn print(s: &str) {
Expand All @@ -1607,7 +1608,8 @@ pub fn print(s: &str) {
*
* # Examples
* ~~~
* core::io::println("hello");
* // println is imported into the prelude, and so is always available.
* println("hello");
* ~~~
*/
pub fn println(s: &str) {
Expand Down

4 comments on commit 929050d

@bors
Copy link
Contributor

@bors bors commented on 929050d May 19, 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 steveklabnik@929050d

@bors
Copy link
Contributor

@bors bors commented on 929050d May 19, 2013

Choose a reason for hiding this comment

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

merging steveklabnik/rust/stdout_docs = 929050d into auto

@bors
Copy link
Contributor

@bors bors commented on 929050d May 19, 2013

Choose a reason for hiding this comment

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

steveklabnik/rust/stdout_docs = 929050d merged ok, testing candidate = 8d6bceb8

@bors
Copy link
Contributor

@bors bors commented on 929050d May 19, 2013

Choose a reason for hiding this comment

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

Please sign in to comment.