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

ZString::clone can avoid making an unchecked str #7

Open
Lokathor opened this issue Mar 8, 2023 · 0 comments
Open

ZString::clone can avoid making an unchecked str #7

Lokathor opened this issue Mar 8, 2023 · 0 comments

Comments

@Lokathor
Copy link
Owner

Lokathor commented Mar 8, 2023

If we just make a Box<[u8]> instead then we avoid the only point in the code that assumes utf8 encoding.

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

No branches or pull requests

1 participant