Skip to content

Commit

Permalink
Auto merge of #107987 - EFanZh:inline-poll-methods, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bors committed Feb 28, 2023
2 parents 34d7a35 + b9ba69c commit ebaf663
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit ebaf663

Please sign in to comment.