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

Check for ASCII in from impl as well #77

Merged
merged 2 commits into from
Jan 9, 2025

Conversation

samadDotDev
Copy link
Contributor

This addresses #76 which reports that there is an inconsistency between UniCase::new() and UniCase::from() for ASCII strings where the latter doesn't check for encoding. Also added a test and modified an existing one that should fail without this fix.

This addresses seanmonstar#76
which reports that there is an inconsistency between
`UniCase::new()` and `UniCase::from()`
for ASCII strings where the latter doesn't check for encoding.
Copy link
Owner

@seanmonstar seanmonstar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much!

src/lib.rs Outdated Show resolved Hide resolved
@seanmonstar seanmonstar merged commit 1827c19 into seanmonstar:master Jan 9, 2025
5 checks passed
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