rust/src/libstd/io
Corey Farwell 8fba638b08 Rewrite io::BufRead doc examples to better demonstrate behaviors.
Prior to this commit, most of the `BufRead` examples used `StdinLock` to
demonstrate how certain `BufRead` methods worked. Using `StdinLock` is
not ideal since:

* Relying on run-time data means we can't show concrete examples of how
  these methods work up-front. The user is required to run them in order
  to see how they behave.
* If the user tries to run an example in the playpen, it won't work
  because the playpen doesn't support user input to stdin.
2017-03-23 23:04:36 -04:00
..
buffered.rs libstd: replace all try! with ? in documentation examples 2017-01-22 21:07:38 +05:30
cursor.rs std::io::cursor: Fixed Seek so test passes. 2017-02-16 03:20:49 +01:00
error.rs Remove function invokation parens from documentation links. 2017-03-13 21:43:18 -04:00
impls.rs Move small-copy optimization into <&[u8] as Read> 2016-11-30 11:09:29 +01:00
lazy.rs Use #[prelude_import] in libstd. 2016-08-24 22:12:48 +00:00
mod.rs Rewrite io::BufRead doc examples to better demonstrate behaviors. 2017-03-23 23:04:36 -04:00
prelude.rs std: Remove deprecated functionality from 1.5 2015-12-10 11:47:55 -08:00
stdio.rs Remove function invokation parens from documentation links. 2017-03-13 21:43:18 -04:00
util.rs Remove function invokation parens from documentation links. 2017-03-13 21:43:18 -04:00