Y
Hacker News
new
|
ask
|
show
|
jobs
by
foldr
3010 days ago
It doesn't have to be the same type, there just has to be a suitable implementation of the 'From' trait to perform the conversion if the types don't match.