Skip to content

Fix a few clippy warnings #109

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

Merged
merged 1 commit into from
Oct 16, 2016
Merged

Fix a few clippy warnings #109

merged 1 commit into from
Oct 16, 2016

Conversation

CryZe
Copy link
Contributor

@CryZe CryZe commented Oct 16, 2016

No description provided.

let sr = d.low().trailing_zeros();
return n >> sr;
};
} else if d.high() == 0 {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This just collapses the else { if {} else {} } into else if {} else {}. Apparently GitHub is quite confused by this.

Copy link
Member

Choose a reason for hiding this comment

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

@CryZe See https://github.com/rust-lang-nursery/compiler-builtins/pull/109/files?w=1
the ?w=1 bit makes the diffing tool ignore whitspace-only changes

@japaric
Copy link
Member

japaric commented Oct 16, 2016

@bors r+
Thank you, @CryZe!

@bors
Copy link
Contributor

bors commented Oct 16, 2016

📌 Commit 4733417 has been approved by japaric

@bors
Copy link
Contributor

bors commented Oct 16, 2016

⌛ Testing commit 4733417 with merge c8589a3...

bors added a commit that referenced this pull request Oct 16, 2016
Fix a few clippy warnings
@bors
Copy link
Contributor

bors commented Oct 16, 2016

☀️ Test successful - status-appveyor, travis
Approved by: japaric
Pushing c8589a3 to master...

@bors bors merged commit 4733417 into rust-lang:master Oct 16, 2016
tgross35 pushed a commit to tgross35/compiler-builtins that referenced this pull request Feb 23, 2025
109: Implement sinh r=japaric a=porglezomp

This also adds `expo2` for the `__expo2` function, and `combine_words` to replace
the `INSERT_WORDS` macro.

Closes rust-lang#35

Co-authored-by: C Jones <[email protected]>
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.

3 participants