]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #35054 - pwoolcoc:stringfromchars, r=brson
authorbors <bors@rust-lang.org>
Tue, 2 Aug 2016 03:05:57 +0000 (20:05 -0700)
committerGitHub <noreply@github.com>
Tue, 2 Aug 2016 03:05:57 +0000 (20:05 -0700)
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.


Trivial merge