about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-02-10 21:11:29 +0000
committerbors <bors@rust-lang.org>2017-02-10 21:11:29 +0000
commit2425b227742bb9214d60429d1325816e0b93e152 (patch)
treeb6365fe75b64d733d15655f6663b31acdef18287 /src/rustllvm/RustWrapper.cpp
parentbc524d3d559e7b514edec6e99feb149995db7f1d (diff)
parent550373b1f9d59a4ce5cd61cb1bca2488c0ec6471 (diff)
downloadrust-2425b227742bb9214d60429d1325816e0b93e152.tar.gz
rust-2425b227742bb9214d60429d1325816e0b93e152.zip
Auto merge of #39438 - clarcharr:box_from, r=alexcrichton
Conversions between slices and boxes

This allows conversion for `Copy` slices, `str`, and `CStr` into their boxed counterparts.

This also adds the method `CString::into_boxed_c_str`.

I would like to add similar implementations for `OsStr` as well, but I have not figured out how.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions