about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-03-09 17:18:24 +0100
committerGitHub <noreply@github.com>2019-03-09 17:18:24 +0100
commit116b299f0093ca183768b86d08705b117519d6ef (patch)
treec3098f7d4c8e7591c97000bbf239cc0456459241 /src/rustllvm/RustWrapper.cpp
parent79873f79b19f15dae9d44b8e57047c6f34514ed4 (diff)
parente478cadbbe51e335b7248018141877b88770fe68 (diff)
downloadrust-116b299f0093ca183768b86d08705b117519d6ef.tar.gz
rust-116b299f0093ca183768b86d08705b117519d6ef.zip
Rollup merge of #58924 - cuviper:more-as_slice, r=dtolnay
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