I know this is the wrong place to ask this, but since I retweeted, I'm now wondering how this is behavior different from using a generic arg with a where clause? I changed the example and both work.
-
-
- 1 more reply
New conversation -
-
-
Is it planned for closure arguments too? Generic closures would be nice :)
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Are there any plans to enable them in trait method returns, too?
-
Wouldn‘t it make more sense to allow them in associated types then, as that also gives you a named type then and it‘s more consistent with how you can have changeable return types at the moment in traits.
End of conversation
New conversation -
-
-
Epic
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.