diff options
| author | Kevin Ballard <kevin@sb.org> | 2014-05-06 20:14:54 -0700 |
|---|---|---|
| committer | Kevin Ballard <kevin@sb.org> | 2014-05-08 12:08:00 -0700 |
| commit | 300d865fa4642f0a76b2676539efa3155ceaeddf (patch) | |
| tree | 77cec48f95a8981067477672f40a0d5d7ff1731c /src/rustllvm/RustWrapper.cpp | |
| parent | dbbb847bf033003c89e105e337419649dae5384c (diff) | |
| download | rust-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
