diff options
| author | Aaron Turon <aturon@mozilla.com> | 2014-11-12 12:01:26 -0800 |
|---|---|---|
| committer | Aaron Turon <aturon@mozilla.com> | 2014-11-17 11:26:30 -0800 |
| commit | 4ab22355d4d186d5eec52be0f980034685411d04 (patch) | |
| tree | 8641ec385edff0f8725f8a5d684cf8f5183448aa /src/rustllvm/RustWrapper.cpp | |
| parent | f09279395b6ca40f1398277971586197f949738a (diff) | |
| download | rust-4ab22355d4d186d5eec52be0f980034685411d04.tar.gz rust-4ab22355d4d186d5eec52be0f980034685411d04.zip | |
libcore: add borrow module
Following [the collections reform RFC](https://github.com/rust-lang/rfcs/pull/235), this commit adds a new `borrow` module to libcore. The module contains traits for borrowing data (`BorrowFrom` and `BorrowFromMut`), generalized cloning (`ToOwned`), and a clone-on-write smartpointer (`Cow`).
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
