Skip to content

Remove const for escape_default and escape_unicode #1

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

Closed
wants to merge 1 commit into from

Conversation

ThijsRay
Copy link

I tried to use to_ascii_lowercase in a const context, but was greeter by a surprising message that to_ascii_lowercase was not const. I saw that your pull request at rust-lang#79549 aims to fix this!

I have opened this pull request, because I wanted to contribute to your PR at rust-lang#79549. I have removed the const declarations from escape_default and escape_unicode to address the two comments on your PR.

@ThijsRay
Copy link
Author

@YenForYang Have you considered this pull request?

@ThijsRay ThijsRay closed this Feb 15, 2021
@ThijsRay ThijsRay deleted the patch-2 branch February 15, 2021 15:59
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