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

In-place trait and methods #2

Open
jhg opened this issue Apr 20, 2024 · 0 comments
Open

In-place trait and methods #2

jhg opened this issue Apr 20, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@jhg
Copy link
Owner

jhg commented Apr 20, 2024

Instead of alloc a new String do it in a &mut String. Maybe it's impossible to do for a AsMut<str> because a call to to_uppercase and to_lowercase could return more of one char, and a char could have more or less bytes than the original one in the string.

@jhg jhg added the enhancement New feature or request label Apr 20, 2024
@jhg jhg added this to the v0.4.0 milestone Apr 20, 2024
@jhg jhg self-assigned this Apr 20, 2024
@jhg jhg pinned this issue Apr 20, 2024
@jhg jhg changed the title In-place traid and methods In-place trait and methods Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant