-
Notifications
You must be signed in to change notification settings - Fork 107
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
Update #[inline] documentation #84
Comments
Here is the existing description:
Here is a draft rewrite:
What do you think? |
Your suggestion is certainly fine. Even better - but I am not sure how much details perf-book wants to maintain - would be to clarify pre/post rust 1.75 state (especially given that this is a recent change and some fols might still be on older versions of rust). |
I chose to slightly reduce the level of detail so that it's correct for both pre- and post-1.75. Thanks again. |
As of rust-lang/rust#116505 the cross-crate inlining can happen even without explicit
#[inline]
attribute in simple-enough cases. I suggest we update the wording in the inline section to account for thisThe text was updated successfully, but these errors were encountered: