-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
add #[inline] to all the public IpAddr functions #81711
Conversation
(rust-highfive has picked a reviewer for you, use r? to override) |
@saethlin Did you mark this PR as a draft on purpose, or is it ready for review? |
@m-ou-se I'm looking to assess any compile time impact of this PR. I created it as a draft to link it in the zulip, but it looks like I'll be on my own to assess any compile time regression it causes. If I can't measure a regression though (which seems likely), it's ready for review. |
This produces the desired codegen change, and I cannot measure a compile time regression. |
@bors r+ rollup |
📌 Commit d3d0fb7 has been approved by |
add #[inline] to all the public IpAddr functions
Rollup of 9 pull requests Successful merges: - rust-lang#74304 (Stabilize the Wake trait) - rust-lang#79805 (Rename Iterator::fold_first to reduce and stabilize it) - rust-lang#81556 (introduce future-compatibility warning for forbidden lint groups) - rust-lang#81645 (Add lint for `panic!(123)` which is not accepted in Rust 2021.) - rust-lang#81710 (OsStr eq_ignore_ascii_case takes arg by value) - rust-lang#81711 (add #[inline] to all the public IpAddr functions) - rust-lang#81725 (Move test to be with the others) - rust-lang#81727 (Revert stabilizing integer::BITS.) - rust-lang#81745 (Stabilize poison API of Once, rename poisoned()) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
No description provided.