]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #23379 - kballard:tweak-stdio-docs-no-raw-constructors, r=alexcrichton
authorManish Goregaokar <manishsmail@gmail.com>
Sun, 15 Mar 2015 10:10:18 +0000 (15:40 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Sun, 15 Mar 2015 10:10:18 +0000 (15:40 +0530)
commitf31d818739023cf6f7847ef8c5a9d441a49e9a51
tree0407144f4bf52f0bc35d456612949f5a0027c207
parent3ebe24920bf6a4a8ab5323fb1f5650c9fe9ea3b0
parent3453b5b4a888a1a1c98cf7355bd3e1ae868cf0e3
Rollup merge of #23379 - kballard:tweak-stdio-docs-no-raw-constructors, r=alexcrichton

`std::io` does not currently expose the `stdin_raw`, `stdout_raw`, or
`stderr_raw` functions. According to the current plans for stdio (see
rust-lang/rfcs#517), raw access will likely be provided using the
platform-specific `std::os::{unix,windows}` modules. At the moment we
don't expose any way to do this. As such, delete all mention of the
`*_raw` functions from the `stdin`/`stdout`/`stderr` function
documentation.

While we're at it, remove a few `pub`s from items that aren't exposed.
This is done just to lessen the confusion experienced by anyone who
looks at the source in an attempt to find the `*_raw` functions.