diff options
author | bors <bors@rust-lang.org> | 2023-02-28 12:32:04 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2023-02-28 12:32:04 +0000 |
commit | 31f858d9a511f24fedb8ed997b28304fec809630 (patch) | |
tree | aeab8bab3ac319b66fd9b0ae63acac34fa0f59bc /tests/rustdoc-js-std/parser-errors.js | |
parent | 5157d938c49af1248a21e7ed2fbc5c6f71963276 (diff) | |
parent | 4bb0a5ed7ff9f959c1a61f43dd796c3f18e8b260 (diff) | |
download | rust-31f858d9a511f24fedb8ed997b28304fec809630.tar.gz |
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.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions