Re:Rust 1.25 released
by steveklabnik on Thursday March 29, 2018 @03:51PM
(#16710481)
In both cases, the iterators are over the slice, so their lifetimes need to be tied together. The iterator can't live longer than the slice, or it'd be a use after free. Does that make sense?
[ Parent
| on HN ]
Re:Rust 1.25 released
by mike-cardwell on Thursday March 29, 2018 @04:27PM
(#16710746)
Yes. Thanks for the explanation.