Rust lifetimes and collections [OT]

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Wed Nov 19 09:58:04 PST 2014


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,
> bearophile

Why did this redditor say it's a horrific hack? 
http://www.reddit.com/r/programming/comments/2mqyd3/rust_lifetimes_and_collections/cm6yj7b

Andrei


More information about the Digitalmars-d mailing list