C-NEWTYPE-HIDE impl Trait
is stable
#169
Replies: 6 comments
-
Hmm, I don't think we should go as far as recommending |
Beta Was this translation helpful? Give feedback.
-
Given current Rust stable, the only way I see myself using In addition to the issue that @KodrAus mentioned (basically, that It is possible that some of these concerns may be assuaged over time, but that time is definitely not today. We may want to consider adding some part of this discussion to |
Beta Was this translation helpful? Give feedback.
-
I've written up some points on this over at reddit. I arrived at the same conclusion as @BurntSushi : use |
Beta Was this translation helpful? Give feedback.
-
Especially, I think we should wait until we get named existentials (current syntax: |
Beta Was this translation helpful? Give feedback.
-
I understand, API consumers benefit from named return types. It would be nice for the guideline to mention |
Beta Was this translation helpful? Give feedback.
-
We should update this for Rust 1.26. I think
impl Trait
is preferred where applicable. Should this guideline be renamed?Beta Was this translation helpful? Give feedback.
All reactions