We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0b1bdc commit 929050dCopy full SHA for 929050d
src/libcore/io.rs
@@ -1593,7 +1593,8 @@ pub fn stderr() -> @Writer { fd_writer(libc::STDERR_FILENO as c_int, false) }
1593
*
1594
* # Examples
1595
* ~~~
1596
-* core::io::print("hello");
+* // print is imported into the prelude, and so is always available.
1597
+* print("hello");
1598
1599
*/
1600
pub fn print(s: &str) {
@@ -1607,7 +1608,8 @@ pub fn print(s: &str) {
1607
1608
1609
1610
-* core::io::println("hello");
1611
+* // println is imported into the prelude, and so is always available.
1612
+* println("hello");
1613
1614
1615
pub fn println(s: &str) {
0 commit comments