On 29/06/2013 18:39, Niko Matsakis wrote:
if you were going to store the result on the caller's stack frame, the caller would have to know how much space to allocate! Conceivably one
If you can have a function that returns an allocated iterator, can't you instead have a function that informs how big it would be, and a function that uses a passed in
pointer from alloca?
_______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev