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

Tweak MetainfoDecode error message #488

Merged
merged 1 commit into from
Jan 7, 2021
Merged

Tweak MetainfoDecode error message #488

merged 1 commit into from
Jan 7, 2021

Conversation

casey
Copy link
Owner

@casey casey commented Jan 7, 2021

Tweak the MetainfoDecode error message to make it different from the
MetainfoDeserialize error message. It's a fine distinction, but the
MetainfoDeserialize error message happens on any serde error when
deserializing, whereas the MetainfoDecode error message happens when
encountering invalid bencode.

Also placate Clippy by disabling clippy::needless_lifetimes lint.

type: reform

Tweak the `MetainfoDecode` error message to make it different from the
`MetainfoDeserialize` error message. It's a fine distinction, but the
`MetainfoDeserialize` error message happens on any serde error when
deserializing, whereas the `MetainfoDecode` error message happens when
encountering invalid bencode.

Also placate Clippy by disabling `clippy::needless_lifetimes` lint.

type: reform
@casey casey merged commit 76ea6e5 into master Jan 7, 2021
@casey casey deleted the error-text branch January 7, 2021 01:22
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.

1 participant