We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ddf5cb0 + d5f0758 commit 94d4aedCopy full SHA for 94d4aed
src/std/str.md
@@ -1,6 +1,6 @@
1
# Strings
2
3
-There are two types of strings in Rust: `String` and `&str`.
+The two most used string types in Rust are `String` and `&str`.
4
5
A `String` is stored as a vector of bytes (`Vec<u8>`), but guaranteed to
6
always be a valid UTF-8 sequence. `String` is heap allocated, growable and not
0 commit comments