Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop using unlikely in strict_* methods #126750

Merged
merged 1 commit into from
Jun 22, 2024
Merged

Commits on Jun 21, 2024

  1. Stop using unlikely in strict_* methods

    It's unnecessary when that arm leads to a `#[cold]` panic anyway, since controlling branch likihood is what `#[cold]` is all about.
    
    (And, well, it's unclear whether `unlikely!` even works these days anyway.)
    scottmcm committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    a314f73 View commit details
    Browse the repository at this point in the history