You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The impl Trait page only contains example where that pattern was used as a return type of a method. It would be cool if there also was at least one example that used it as argument type. Ideally, there'd be again two methods, one showing the pattern and one showing what it de-sugars into.
The text was updated successfully, but these errors were encountered:
The
impl Trait
page only contains example where that pattern was used as a return type of a method. It would be cool if there also was at least one example that used it as argument type. Ideally, there'd be again two methods, one showing the pattern and one showing what it de-sugars into.The text was updated successfully, but these errors were encountered: