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

Delete unneeded imports in doc code #1202

Merged
merged 1 commit into from
Oct 18, 2024
Merged

Conversation

dtolnay
Copy link
Member

@dtolnay dtolnay commented Oct 18, 2024

std::f64 used to be needed for the std::f64::NAN constant, but a new f64::NAN associated constant has been stable since Rust 1.43. https://doc.rust-lang.org/std/primitive.f64.html#associatedconstant.NAN

std::i128 is from #1141 and was never used.

@dtolnay dtolnay merged commit b4df0f8 into serde-rs:master Oct 18, 2024
16 checks passed
@dtolnay dtolnay deleted the useprimitive branch October 18, 2024 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant