
Rust
Rust Strings Explained and When to Use String or str
String owns its text and str is a borrowed view of text somewhere else. Use that split to pick the right type in function signatures and structs.
7 min read
Tag
1 post

String owns its text and str is a borrowed view of text somewhere else. Use that split to pick the right type in function signatures and structs.