mozilla/rust — pull request #10701 by huonw (2013-11-28 12:54:28+00:00)
Title: std::str: remove from_utf8.

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.