Skip to content

fix: Don't use the type for constants; use std #186

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 2 commits into from
Jun 5, 2020
Merged

fix: Don't use the type for constants; use std #186

merged 2 commits into from
Jun 5, 2020

Conversation

alecks
Copy link
Contributor

@alecks alecks commented Jun 4, 2020

There were multiple cases where a primitive type was being used as a module, like f64::NAN. This was fixed by using the std module, like std::f64::NAN.

fixes #185

@saghm
Copy link
Contributor

saghm commented Jun 5, 2020

It looks like the rustfmt lint is failing; the instructions for setting up this test locally are here.

@alecks
Copy link
Contributor Author

alecks commented Jun 5, 2020

Oh - apologies. Should be fixed.

@saghm
Copy link
Contributor

saghm commented Jun 5, 2020

No worries!

@saghm saghm merged commit 932cfcc into mongodb:master Jun 5, 2020
@saghm
Copy link
Contributor

saghm commented Jun 5, 2020

Thanks for the pull request!

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.

bson 0.15 build error!!!
4 participants