about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2016-08-09 20:49:41 -0400
committerCorey Farwell <coreyf@rwell.org>2016-08-16 11:14:52 -0400
commit3808dc3560ed15c83f92a0c309d44864f53e968b (patch)
treec6176b080aa29cea24c82f9d56b1d696c59f83ee /src/rustllvm/RustWrapper.cpp
parente25542cb02d946959517ebb68e2f7b1318817237 (diff)
downloadrust-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