Closed
Description
I noticed that in one of my project, inlining Poll::map
manually reduces some binary size, then I noticed Poll::map
is not marked #[inline]
. Since both Option::map
and Result::map
are marked #[inline]
, I wonder whether this is an oversight. I failed to reproduce the binary size reduction effect with an example code, but maybe the reason behind inlining Option::map
and Result::map
also applies to Poll::map
? How about Poll::map_ok
and Poll::map_err
?
Metadata
Metadata
Assignees
Labels
No labels