diff options
| author | Josh Stone <jistone@redhat.com> | 2019-03-04 15:12:45 -0800 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2019-03-04 15:12:45 -0800 |
| commit | 538a0963ff4a55da47fcf2a1e14c62edab5af48d (patch) | |
| tree | 4591fdc1ab918bebaef703d2b2b80237ab07c97a /src/rustllvm/RustWrapper.cpp | |
| parent | a9da8fc9c267c08cfdb8cf5b39da14f154d12939 (diff) | |
| download | rust-538a0963ff4a55da47fcf2a1e14c62edab5af48d.tar.gz rust-538a0963ff4a55da47fcf2a1e14c62edab5af48d.zip | |
Add as_slice() to slice::IterMut and vec::Drain
In bluss/indexmap#88, we found that there was no easy way to implement `Debug` for our `IterMut` and `Drain` iterators. Those are built on `slice::IterMut` and `vec::Drain`, which implement `Debug` themselves, but have no other way to access their data. With a new `as_slice()` method, we can read the data and customize its presentation.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
