diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-02-03 12:32:56 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-02-03 12:41:23 -0800 |
| commit | d30f225b492163b14005d5069b7924f3fecf868c (patch) | |
| tree | 11df52d8844878ce9db2f62238582a0dac2c2993 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 3b2ed14906fd9f9daa27cc7d1dad263d2f5ff450 (diff) | |
| download | rust-d30f225b492163b14005d5069b7924f3fecf868c.tar.gz rust-d30f225b492163b14005d5069b7924f3fecf868c.zip | |
std: Remove `iter::ByRef` and generalize impls
This removes the `ByRef` iterator adaptor to stay in line with the changes to `std::io`. The `by_ref` method instead just returns `&mut Self`. This also removes the implementation of `Iterator for &mut Iterator` and instead generalizes it to `Iterator for &mut I` where `I: Iterator + ?Sized`. The `Box<I>` implementations were also updated. This is a breaking change due to the removal of the `std::iter::ByRef` type. All mentions of `ByRef<'a, T>` should be replaced with `&mut T` to migrate forward. [breaking-change]
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
