You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Instead of alloc a
new String
do it in a&mut String
. Maybe it's impossible to do for aAsMut<str>
because a call toto_uppercase
andto_lowercase
could return more of one char, and a char could have more or less bytes than the original one in the string.The text was updated successfully, but these errors were encountered: