3 ms·
In general, yes. But here I don't see why it's not possible to use FutureResult instead of BoxFuture.
by Arnavion 10y ago
In general, yes. But here I don't see why it's not possible to use FutureResult instead of BoxFuture.
- lukes386 10y agoYep, 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.