diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-08-11 22:11:48 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-08-11 22:42:22 -0700 |
| commit | db3f06388bac2194fafe0fa4eefd7febaa50d62a (patch) | |
| tree | 71b15311a75e4a704a29d28a6417a1f3d7f8c139 /src/libstd | |
| parent | 837ae4f3d417151c3d2b38672bf92174d8d9266b (diff) | |
| parent | 27c44c8106d2333d62c777dedcf83209d017dcb5 (diff) | |
| download | rust-db3f06388bac2194fafe0fa4eefd7febaa50d62a.tar.gz rust-db3f06388bac2194fafe0fa4eefd7febaa50d62a.zip | |
rollup merge of #27679: durka/patch-5
I'm not 100% sure lines 63 and 73 are typos.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/io/stdio.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstd/io/stdio.rs b/src/libstd/io/stdio.rs index d69e17cade4..33c561e3eea 100644 --- a/src/libstd/io/stdio.rs +++ b/src/libstd/io/stdio.rs @@ -56,21 +56,21 @@ struct StderrRaw(stdio::Stderr); /// The returned handle has no external synchronization or buffering. fn stdin_raw() -> io::Result<StdinRaw> { stdio::Stdin::new().map(StdinRaw) } -/// Constructs a new raw handle to the standard input stream of this process. +/// Constructs a new raw handle to the standard output stream of this process. /// /// The returned handle does not interact with any other handles created nor /// handles returned by `std::io::stdout`. Note that data is buffered by the -/// `std::io::stdin` handles so writes which happen via this raw handle may +/// `std::io::stdout` handles so writes which happen via this raw handle may /// appear before previous writes. /// /// The returned handle has no external synchronization or buffering layered on /// top. fn stdout_raw() -> io::Result<StdoutRaw> { stdio::Stdout::new().map(StdoutRaw) } -/// Constructs a new raw handle to the standard input stream of this process. +/// Constructs a new raw handle to the standard error stream of this process. /// /// The returned handle does not interact with any other handles created nor -/// handles returned by `std::io::stdout`. +/// handles returned by `std::io::stderr`. /// /// The returned handle has no external synchronization or buffering layered on /// top. |
