Closed
Description
.boxed()
has to be hard coded to either be Send + 'static
or not. Where as calling Box::new
is able to infer which it should be. Given this, when a user tries to call boxed()
but the future is not Send
, a compilation error happens. I've noticed that this often causes confusion and it seems to be one of the more common questions that is asked in the gitter channel.
I propose to remove boxed
in favor of explicitly calling Box::new
.
Metadata
Metadata
Assignees
Labels
No labels