-
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
Capitalize statics in f32 and f64 mods #10136
Conversation
Ugh, did this second commit become part of the same pull request? |
@hatahet: yes, pull requests track branches |
So what do we do about this one now? :/ The good news is that it was already reviewed previously: #10085 (comment) |
@hatahet: you need to reset this branch back to the previous commit, and push the new commit to a new branch based on the real master |
I rebased, the second commit seems to have disappeared. |
|
||
/// 1.0/pi | ||
pub static frac_1_pi: f32 = 0.318309886183790671537767526745028724_f32; | ||
pub static FRAC_1_PI: f32 = 0.318309886183790671537767526745028724_f32; | ||
|
||
/// 2.0/pi | ||
pub static frac_2_pi: f32 = 0.636619772367581343075535053490057448_f32; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you missed this one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed. Fixed.
Would you mind squashing these to commits into one? |
Done! |
…t-FP, r=Manishearth don't lint field_reassign when field in closure fixes rust-lang#10136 This change makes the ContainsName struct visit all interior expressions, which means that ContainsName will return true even if `name` is used in a closure within `expr`. --- changelog: FP: [`field_reassign_with_default`]: No longer lints cases, where values are initializes from closures capturing struct values [rust-lang#10143](rust-lang/rust-clippy#10143) <!-- changelog_checked -->
Fixes #10077