Y
Hacker News
new
|
ask
|
show
|
jobs
by
maxbond
1446 days ago
I mean, generics and associated types aren't equivalent, but they also are often exposed to the consumer. Eg, if you're accepting an Iterator, you'll want to populate the Item associated type.