diff options
| author | Paul Woolcock <paul@woolcock.us> | 2016-07-26 15:54:55 -0400 |
|---|---|---|
| committer | Paul Woolcock <paul@woolcock.us> | 2016-07-27 12:07:49 -0400 |
| commit | ac73335f2f5421c914fa3900567696cc6dc73d8d (patch) | |
| tree | 145e442e5fb9492254a43f46add6ae535a76b9a5 /src/rustllvm/RustWrapper.cpp | |
| parent | 422ebd5328e485462c675af9304f3b5b86e5b893 (diff) | |
| download | rust-ac73335f2f5421c914fa3900567696cc6dc73d8d.tar.gz rust-ac73335f2f5421c914fa3900567696cc6dc73d8d.zip | |
implement `From<Vec<char>>` and `From<&'a [char]>` for `String`
Though there are ways to convert a slice or vec of chars into a string, it would be nice to be able to just do `String::from(['a', 'b', 'c'])`, so this PR implements `From<Vec<char>>` and `From<&'a [char]>` for String.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
