Skip to content

Commit

Permalink
Auto merge of #102167 - thomcc:exclusive-inline, r=scottmcm
Browse files Browse the repository at this point in the history
Add `#[inline]` to trivial functions on `core::sync::Exclusive`

When optimizing for size things like these sometimes don't inlined even though they're generic. This is bad because they're no-ops.

Only dodgy one is poll I guess since it forwards to the inner poll, but it's not like we're doing `#[inline(always)]` here.
  • Loading branch information
bors committed Sep 24, 2022
2 parents 4889c17 + 62f33e7 commit 2c45ebf
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 2c45ebf

Please sign in to comment.