Skip to content
This repository was archived by the owner on Oct 18, 2021. It is now read-only.

remove floating points for literals in patterns #231

Merged
merged 1 commit into from
Aug 1, 2017

Conversation

saghm
Copy link
Contributor

@saghm saghm commented Jul 31, 2017

Starting in Rust 1.19, using floating points in patterns results in a warning which will be an error in a later version. The reasons for this are spelled out here, which basically boil down ensuring proper behavior for -0/+0 and NaN.

@saghm saghm requested a review from kyeah August 1, 2017 00:17
Copy link
Contributor

@kyeah kyeah left a comment

Choose a reason for hiding this comment

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

👍

@saghm saghm merged commit 4a432f0 into mongodb-labs:master Aug 1, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants