4 ms·
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 (
by marcosscriven 10y ago
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 https://github.com/rust-lang/rust/issues/34511
- leshow 10y agoI thought this was already supported for free standing functions? Or is that only in nightly
- steveklabnik 10y agoOnly in nightly. Can't say when it will hit stable, but "sooner rather than later" is a phrase I've heard.