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

Capitalize statics in f32 and f64 mods #10136

Merged
merged 1 commit into from
Oct 29, 2013
Merged

Capitalize statics in f32 and f64 mods #10136

merged 1 commit into from
Oct 29, 2013

Conversation

hatahet
Copy link
Contributor

@hatahet hatahet commented Oct 29, 2013

Fixes #10077

@hatahet
Copy link
Contributor Author

hatahet commented Oct 29, 2013

Ugh, did this second commit become part of the same pull request?

@thestinger
Copy link
Contributor

@hatahet: yes, pull requests track branches

@hatahet
Copy link
Contributor Author

hatahet commented Oct 29, 2013

So what do we do about this one now? :/ The good news is that it was already reviewed previously: #10085 (comment)

@thestinger
Copy link
Contributor

@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

@hatahet
Copy link
Contributor Author

hatahet commented Oct 29, 2013

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;
Copy link
Member

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed. Fixed.

@alexcrichton
Copy link
Member

Would you mind squashing these to commits into one?

@hatahet
Copy link
Contributor Author

hatahet commented Oct 29, 2013

Done!

bors added a commit that referenced this pull request Oct 29, 2013
@bors bors closed this Oct 29, 2013
@bors bors merged commit 3797f2b into rust-lang:master Oct 29, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jan 12, 2023
…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 -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Capitalize statics in f32 and f64 mods
5 participants