diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-03-09 17:18:24 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-09 17:18:24 +0100 |
| commit | 116b299f0093ca183768b86d08705b117519d6ef (patch) | |
| tree | c3098f7d4c8e7591c97000bbf239cc0456459241 /src/rustllvm/RustWrapper.cpp | |
| parent | 79873f79b19f15dae9d44b8e57047c6f34514ed4 (diff) | |
| parent | e478cadbbe51e335b7248018141877b88770fe68 (diff) | |
| download | rust-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
