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

Squash DecodeError::{InvalidSymbol,NonAscii} into DecodeError::InvalidByte #21

Merged
merged 1 commit into from
Mar 20, 2020

Conversation

lopopolo
Copy link
Member

This is a breaking change.

Now that the InvalidSymbol and NonAscii variants take byte offsets
of where the error occurred, they are not semantically different. Squash
these two variants into a new one called InvalidByte.

This minimizes the public API surface of the DecodeError enum.

…dByte

This is a breaking change.

Now that the `InvalidSymbol` and `NonAscii` variants take byte offsets
of where the error occurred, they are not semantically different. Squash
these two variants into a new one called `InvalidByte`.

This minimizes the public API surface of the `DecodeError` enum.
@lopopolo lopopolo added the A-decode Area: Core decoder implementation. label Mar 20, 2020
@lopopolo lopopolo merged commit 46e9431 into master Mar 20, 2020
@lopopolo lopopolo deleted the squash-nonascii-invalidsymbol-decode-errors branch March 20, 2020 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-decode Area: Core decoder implementation.
Development

Successfully merging this pull request may close these issues.

1 participant