]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #10701 : huonw/rust/rm-from_utf8, r=brson
authorbors <bors@rust-lang.org>
Wed, 4 Dec 2013 19:32:23 +0000 (11:32 -0800)
committerbors <bors@rust-lang.org>
Wed, 4 Dec 2013 19:32:23 +0000 (11:32 -0800)
This function had type &[u8] -> ~str, i.e. it allocates a string
internally, even though the non-allocating version that take &[u8] ->
&str and ~[u8] -> ~str are all that is necessary in most circumstances.


Trivial merge