diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-04-21 22:15:42 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-04-23 10:03:43 -0700 |
| commit | f4083a22451692b9ae360f3d12bfb8cb52b096e4 (patch) | |
| tree | 5def1ac72e0ed4208f3995fdf609e8ac8539c65f /src/rustllvm/RustWrapper.cpp | |
| parent | 159a10da4c15e5d34e00d4018b352573cec7918f (diff) | |
| download | rust-f4083a22451692b9ae360f3d12bfb8cb52b096e4.tar.gz rust-f4083a22451692b9ae360f3d12bfb8cb52b096e4.zip | |
std: Change RandomAccessIterator to use `&mut self`
Many iterators go through a closure when dealing with the `idx` method, which are invalid after the previous change (closures cannot be invoked through a `&` pointer). This commit alters the `fn idx` method on the RandomAccessIterator to take `&mut self` rather than `&self`. [breaking-change]
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
