Auto merge of #107987 - EFanZh:inline-poll-methods, r=Mark-Simulacrum

Inline `Poll` methods

With `opt-level="z"`, the `Poll::map*` methods are sometimes not inlined (see <https://godbolt.org/z/ca5ajKTEK>). This PR adds `#[inline]` to these methods. I have a project that can benefit from this change, but do we want to enable this behavior universally?

Fixes #101080.
This commit is contained in:
bors 2023-02-28 12:32:04 +00:00
commit ebaf663a4e

Diff content is not available