5 ms·
Fun fact: `&mut str` exists. You don't get random access, but in controlled scenarios it's fine to mutate str in-place, e.g. `make_ascii_lowercase` https://doc
by pornel 6y ago
Fun fact: `&mut str` exists. You don't get random access, but in controlled scenarios it's fine to mutate str in-place, e.g. `make_ascii_lowercase`
https://doc.rust-lang.org/stable/std/primitive.str.html#method.make_ascii_lowercase https://doc.rust-lang.org/stable/std/primitive.str.html#meth...