]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #19042 : SimonSapin/rust/generic-utf16-encoder, r=alexcrichton
authorbors <bors@rust-lang.org>
Fri, 21 Nov 2014 14:21:48 +0000 (14:21 +0000)
committerbors <bors@rust-lang.org>
Fri, 21 Nov 2014 14:21:48 +0000 (14:21 +0000)
This allows encoding to UTF-16 something that is not in UTF-8, e.g. a `[char]` UTF-32 string.

This might help with servo/servo#4023

1  2 
src/libcollections/str.rs

Simple merge