-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Mark lt
from PartialOrd as inline
#18090
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
Comments
Before |
(or that none of them should be inline, the eternal struggle) |
On this same note, should eq also be marked as inline? On line 318 in cmp.rs it is but elsewhere it isn't. Line 318 in 3be6a2f
|
it already is ;) |
Not on this line: Line 61 in 3be6a2f
|
@rclanan The line you link is just a function delcaration, and not a function itself. I don't think you can (meaningfully) declare such a thing as #[inline]. |
Awesome, thanks for the feedback! I was just going based on what I saw on line 65 but I see the difference now. |
Shouldn't the
lt
method also be inline?The text was updated successfully, but these errors were encountered: