about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2019-03-04 15:12:45 -0800
committerJosh Stone <jistone@redhat.com>2019-03-04 15:12:45 -0800
commit538a0963ff4a55da47fcf2a1e14c62edab5af48d (patch)
tree4591fdc1ab918bebaef703d2b2b80237ab07c97a /src/rustllvm/RustWrapper.cpp
parenta9da8fc9c267c08cfdb8cf5b39da14f154d12939 (diff)
downloadrust-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