diff options
| author | Corey Farwell <coreyf@rwell.org> | 2016-08-09 20:49:41 -0400 |
|---|---|---|
| committer | Corey Farwell <coreyf@rwell.org> | 2016-08-16 11:14:52 -0400 |
| commit | 3808dc3560ed15c83f92a0c309d44864f53e968b (patch) | |
| tree | c6176b080aa29cea24c82f9d56b1d696c59f83ee /src/rustllvm/RustWrapper.cpp | |
| parent | e25542cb02d946959517ebb68e2f7b1318817237 (diff) | |
| download | rust-3808dc3560ed15c83f92a0c309d44864f53e968b.tar.gz rust-3808dc3560ed15c83f92a0c309d44864f53e968b.zip | |
Implement `AsRef<[T]>` for `std::slice::Iter`.
`AsRef` is designed for conversions that are "cheap" (as per the API docs). It is the case that retrieving the underlying data of `std::slice::Iter` is cheap. In my opinion, there's no ambiguity about what slice data will be returned, otherwise, I would be more cautious about implementing `AsRef`.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
