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

stats: fix handling of NaN in min and max #12718

Closed
wants to merge 2 commits into from
Closed

stats: fix handling of NaN in min and max #12718

wants to merge 2 commits into from

Conversation

thestinger
Copy link
Contributor

No description provided.

@alexcrichton
Copy link
Member

Could you add some description of the bug in both the PR description and the commit message? This should also be accompanied with some tests.

The `cmp::min` and `cmp::max` functions are not correct with partially
ordered values. #12712
@bors bors closed this Mar 6, 2014
@thestinger thestinger deleted the min_max branch March 8, 2014 06:03
flip1995 pushed a commit to flip1995/rust that referenced this pull request May 17, 2024
Searching for a lint on the website will replace all of the dashes with
underscores instead of only the first one.
flip1995 pushed a commit to flip1995/rust that referenced this pull request May 17, 2024
…18, r=xFrednet

Fix website dash replacement

Fixes: rust-lang#12718
changelog: Made clippy lints website search replace all occurrences of dashes with underscores instead of only the first one. This is in order to allow the user to search for lints with more than two words using dahses.
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