about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-08-01 20:05:57 -0700
committerGitHub <noreply@github.com>2016-08-01 20:05:57 -0700
commit19765f2ab18ebb79f8615951b7cb8b86d896ecda (patch)
tree051c2c14daeabe5c148e733d57efa206953d57d5 /src/rustllvm/RustWrapper.cpp
parent1ece9ca968ab121082481b860e00c470182f0bae (diff)
parentac73335f2f5421c914fa3900567696cc6dc73d8d (diff)
downloadrust-19765f2ab18ebb79f8615951b7cb8b86d896ecda.tar.gz
rust-19765f2ab18ebb79f8615951b7cb8b86d896ecda.zip
Auto merge of #35054 - pwoolcoc:stringfromchars, r=brson
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