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 unreachable branch from Number::from_i128 #1200

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

dtolnay
Copy link
Member

@dtolnay dtolnay commented Oct 18, 2024

Followup to #1141. There is no value of i128 for which u64::try_from returns Err and i64::try_from returns Ok and >=0.

@dtolnay dtolnay changed the title Delete unreachable branch from Number::from_128 Delete unreachable branch from Number::from_i128 Oct 18, 2024
@dtolnay dtolnay merged commit 22973d2 into serde-rs:master Oct 18, 2024
16 checks passed
@dtolnay dtolnay deleted the from128 branch October 18, 2024 15:17
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