Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Great to see the progress here. The one I'm really looking forward to is 'impl trait'.[0]

My understanding is this will allow returning trait implementations (such as Iterator) without resorting either to dynamic dispatch or leaking the concrete type.

[0] https://github.com/rust-lang/rust/issues/34511



I thought this was already supported for free standing functions? Or is that only in nightly


Only in nightly.

Can't say when it will hit stable, but "sooner rather than later" is a phrase I've heard.


thanks steve!


Rather keen on getting impl Trait myself. I won't have to return so many Vecs!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: