On 11/19/14 8:54 AM, bearophile wrote:This is nice:fn split_at_mut(&mut self, mid: uint) -> (&mut [T], &mut [T]);Bye, bearophileWhy did this redditor say it's a horrific hack? http://www.reddit.com/r/programming/comments/2mqyd3/rust_lifetimes_and_collections/cm6yj7b
Probably because it performs extra work (which may or may not be optimized out) just so it fits in Rust's safety model.
