|
|
|
|
|
by floobertoober
821 days ago
|
|
The more I've used the language, I'm starting to think that this decision makes sense in the context of Zig. Common string operations involve allocation, non-constant time access, etc. I can definitely understand how strange that sounds without the rest of the language around it as context, though. |
|
A lot of the Rust string API lives in str, not String.