about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorKevin Ballard <kevin@sb.org>2014-05-06 20:14:54 -0700
committerKevin Ballard <kevin@sb.org>2014-05-08 12:08:00 -0700
commit300d865fa4642f0a76b2676539efa3155ceaeddf (patch)
tree77cec48f95a8981067477672f40a0d5d7ff1731c /src/rustllvm/RustWrapper.cpp
parentdbbb847bf033003c89e105e337419649dae5384c (diff)
downloadrust-300d865fa4642f0a76b2676539efa3155ceaeddf.tar.gz
rust-300d865fa4642f0a76b2676539efa3155ceaeddf.zip
Add a mechanism to convert from Vec<T> to ~[T]
Add a new trait FromVec with one self-less method from_vec(). This is
kind of like FromIterator, but it consumes a Vec<T>. It's only
implemented for ~[T], but the idea is post-DST it can be implemented for
any Boxed<[T]>.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions