Skip to content

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.

2 participants