Skip to content

Improve error handling & fix clippy lints#32

Open
hannahfluch wants to merge 2 commits intour0:masterfrom
hannahfluch:master
Open

Improve error handling & fix clippy lints#32
hannahfluch wants to merge 2 commits intour0:masterfrom
hannahfluch:master

Conversation

@hannahfluch
Copy link

In this pull request, I first updated the source according to the clippy lint comparison_to_empty, which can be a lot faster than using the equality operator.

I also "fixed" the issue #29 with improved error handling. I was not able to fix the root cause, being an invalid utf-8 character. But before the program would just panic, whereas now, it prints the replacement character: U+FFFD instead.

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