Y
Hacker News
new
|
ask
|
show
|
jobs
by
Arnavion
3469 days ago
In general, yes. But here I don't see why it's not possible to use FutureResult instead of BoxFuture.
1 comments
lukes386
3469 days ago
Yep, you're right, a plain FutureResult works fine in this case. I was aware of the general rule about boxing futures, but didn't realize it was unnecessary in this case. Thanks for pointing it out! I'll update the post.
link