Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
Arnavion
9y ago
0 comments
Save
Share
In general, yes. But here I don't see why it's not possible to use FutureResult instead of BoxFuture.
0 comments
1 comments · 1 top-level
top
newest
oldest
lukes386
9y 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.
j
/
k
navigate · click thread line to collapse