rust/src/librustdoc
Alex Crichton 0dfa9978cc std: Stabilize portions of the io module
The new `io` module has had some time to bake and this commit stabilizes some of
the utilities associated with it. This commit also deprecates a number of
`std::old_io::util` functions and structures.

These items are now `#[stable]`

* `Cursor`
* `Cursor::{new, into_inner, get_ref, get_mut, position, set_position}`
* Implementations of I/O traits for `Cursor<T>`
* Delegating implementations of I/O traits for references and `Box` pointers
* Implementations of I/O traits for primitives like slices and `Vec<T>`
* `ReadExt::bytes`
* `Bytes` (and impls)
* `ReadExt::chain`
* `Chain` (and impls)
* `ReadExt::take` (and impls)
* `BufReadExt::lines`
* `Lines` (and impls)
* `io::copy`
* `io::{empty, Empty}` (and impls)
* `io::{sink, Sink}` (and impls)
* `io::{repeat, Repeat}` (and impls)

These items remain `#[unstable]`

* Core I/O traits. These may want a little bit more time to bake along with the
  commonly used methods like `read_to_end`.
* `BufReadExt::split` - this function may be renamed to not conflict with
  `SliceExt::split`.
* `Error` - there are a number of questions about its representation,
  `ErrorKind`, and usability.

These items are now `#[deprecated]` in `old_io`

* `LimitReader` - use `take` instead
* `NullWriter` - use `io::sink` instead
* `ZeroReader` - use `io::repeat` instead
* `NullReader` - use `io::empty` instead
* `MultiWriter` - use `broadcast` instead
* `ChainedReader` - use `chain` instead
* `TeeReader` - use `tee` instead
* `copy` - use `io::copy` instead

[breaking-change]
2015-03-04 17:04:22 -08:00
..
clean Auto merge of #22765 - sanxiyn:dedup-rustdoc, r=alexcrichton 2015-02-27 02:58:15 +00:00
html rustc_resolve: use the visitor model more, remove redundant repeated lookups. 2015-02-24 14:14:16 +02:00
core.rs Separate most of rustc::lint::builtin into a separate crate. 2015-02-28 15:33:59 +11:00
doctree.rs Rename DefTrait to DefaultImpl 2015-02-22 02:14:25 +01:00
externalfiles.rs cleanup: replace as[_mut]_slice() calls with deref coercions 2015-02-05 13:45:01 -05:00
flock.rs Use consts instead of statics where appropriate 2015-03-02 17:11:51 +01:00
fold.rs Fix fallout from change, adding explicit Sized annotations where necessary. 2015-01-02 12:06:59 -05:00
lib.rs Use consts instead of statics where appropriate 2015-03-02 17:11:51 +01:00
markdown.rs cleanup: replace as[_mut]_slice() calls with deref coercions 2015-02-05 13:45:01 -05:00
passes.rs Opt for .cloned() over .map(|x| x.clone()) etc. 2015-02-18 00:56:07 +00:00
plugins.rs cleanup: replace as[_mut]_slice() calls with deref coercions 2015-02-05 13:45:01 -05:00
stability_summary.rs Count and show the deprecated attribute again 2015-02-15 00:39:37 +02:00
test.rs std: Stabilize portions of the io module 2015-03-04 17:04:22 -08:00
visit_ast.rs rustc: combine partial_def_map and last_private_map into def_map. 2015-02-24 14:16:02 +02:00