[rust-dev] Iterators, lists, vectors

Rust rust at kudling.de
Thu Jan 12 12:29:08 PST 2012


 


Niko Matsakis <niko at alum.mit.edu> hat am 12. Januar 2012 um 19:18 geschrieben:

> On 1/12/12 9:47 AM, Graydon Hoare wrote:
> > More generally though, I think block-centric is best, and perhaps
> > provide a standard vec method that appends-to-a-vec everything fed to it.

[...]

> or even:
>
>      let keys = hash.keys.to_list();
 
Actually, this sounds like a good compromise to me.
I'm looking forward to this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/rust-dev/attachments/20120112/1c52a105/attachment.html>


More information about the Rust-dev mailing list