]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #5479 : Kimundi/rust/str-dealloc, r=z0w0
authorbors <bors@rust-lang.org>
Fri, 22 Mar 2013 02:39:53 +0000 (19:39 -0700)
committerbors <bors@rust-lang.org>
Fri, 22 Mar 2013 02:39:53 +0000 (19:39 -0700)
This makes the `trim` and `substr` functions return a slice instead of an `~str`, and removes the unnecessary `Trimmable` trait (`StrSlice` already contains the same functionality).

Also moves the `ToStr` implementations for the three str types into the str module in anticipation of further untangling.


Trivial merge