about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-04-24 09:44:16 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-04-24 19:21:13 +0530
commitb5fddf9b19ff3d4441b3e3cf7c3a6132b6286d39 (patch)
tree43fc2ecd6cc1d28ae7623184524d0fe627a94d31
parent7a50ecdd72907258c83eaf22b064e0ddc7e83b60 (diff)
parentb4a6f895caf3d49ad00a0982ef28485385e78d17 (diff)
downloadrust-b5fddf9b19ff3d4441b3e3cf7c3a6132b6286d39.tar.gz
rust-b5fddf9b19ff3d4441b3e3cf7c3a6132b6286d39.zip
Rollup merge of #24699 - mbrubeck:doc-edit, r=steveklabnik
r? @steveklabnik
-rw-r--r--src/libstd/io/stdio.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstd/io/stdio.rs b/src/libstd/io/stdio.rs
index cd6af77daa9..42fad701533 100644
--- a/src/libstd/io/stdio.rs
+++ b/src/libstd/io/stdio.rs
@@ -95,6 +95,8 @@ impl Write for StderrRaw {
 ///
 /// This handle implements the `Read` trait, but beware that concurrent reads
 /// of `Stdin` must be executed with care.
+///
+/// Created by the function `io::stdin()`.
 #[stable(feature = "rust1", since = "1.0.0")]
 pub struct Stdin {
     inner: Arc<Mutex<BufReader<StdinRaw>>>,
@@ -206,6 +208,8 @@ const OUT_MAX: usize = ::usize::MAX;
 /// Each handle shares a global buffer of data to be written to the standard
 /// output stream. Access is also synchronized via a lock and explicit control
 /// over locking is available via the `lock` method.
+///
+/// Created by the function `io::stdout()`.
 #[stable(feature = "rust1", since = "1.0.0")]
 pub struct Stdout {
     // FIXME: this should be LineWriter or BufWriter depending on the state of