3 ms·
It depends on your use case. You may find `String` [0] easier to use since it is growable, etc. As you continue to use Rust you will find that each type has th
by squiguy7 9y ago
It depends on your use case. You may find `String` [0] easier to use since it is growable, etc.
As you continue to use Rust you will find that each type has their reason and string slices (what are used in this blog post) have their limits.
[0]: https://doc.rust-lang.org/std/string/struct.String.html https://doc.rust-lang.org/std/string/struct.String.html