about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAaron Turon <aturon@mozilla.com>2014-11-20 08:43:37 -0800
committerAaron Turon <aturon@mozilla.com>2014-11-20 12:00:07 -0800
commitbab9564280a02ca04aa95e71c1c7163a31bc7867 (patch)
tree0bf643ea7b13c22a7c397ea8cd7c17d8c8035b5f /src/rustllvm/RustWrapper.cpp
parent793624261a221aa4592381fa8067e1f597b90c22 (diff)
downloadrust-bab9564280a02ca04aa95e71c1c7163a31bc7867.tar.gz
rust-bab9564280a02ca04aa95e71c1c7163a31bc7867.zip
libs: make Cow usable, improve documentation
This commit makes `Cow` more usable by allowing it to be applied to
unsized types (as was intended) and providing some basic `ToOwned`
implementations on slice types. It also corrects the documentation for
`Cow` to no longer mention `DerefMut`, and adds an example.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions