Re:Rust Traits Deep Dive, Part 2
by chriskrycho on Thursday June 21, 2018 @12:08PM
(#17366400)
I may have gotten that wrong! Had a lot of things in flight for this episode and the universal/existential discussion was a late addition from before I split it into this and the upcoming episode focused on object safety, dynamic-vs.-static dispatch, and `impl Trait`.
And really, you wouldn't want to use the latter in this case because the user wants to choose the type that's being generated (this is not a case where you want the callee to choose the type). So the second signature wouldn't make a whole lot of sense even if this API had been stabilized post-1.26.