Skip to content

Capitalize statics in f32 and f64 mods#10136

Merged
bors merged 1 commit into
rust-lang:masterfrom
hatahet:master
Oct 29, 2013
Merged

Capitalize statics in f32 and f64 mods#10136
bors merged 1 commit into
rust-lang:masterfrom
hatahet:master

Conversation

@hatahet

@hatahet hatahet commented Oct 29, 2013

Copy link
Copy Markdown
Contributor

Fixes #10077

@hatahet

hatahet commented Oct 29, 2013

Copy link
Copy Markdown
Contributor Author

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

@thestinger

Copy link
Copy Markdown
Contributor

@hatahet: yes, pull requests track branches

@hatahet

hatahet commented Oct 29, 2013

Copy link
Copy Markdown
Contributor Author

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

@thestinger

Copy link
Copy Markdown
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

hatahet commented Oct 29, 2013

Copy link
Copy Markdown
Contributor Author

I rebased, the second commit seems to have disappeared.

Comment thread src/libstd/num/f32.rs Outdated

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
Copy Markdown
Member

Would you mind squashing these to commits into one?

@hatahet

hatahet commented Oct 29, 2013

Copy link
Copy Markdown
Contributor Author

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