This commit is contained in:
Steve Klabnik 2016-08-26 15:59:52 -04:00 committed by Carol (Nichols || Goulding)
parent a47516a171
commit c9a21c8e5d
2 changed files with 9 additions and 7 deletions

View File

@ -1,13 +1,18 @@
# Strings
We've already talked about strings a bunch in chapter four, but let's take a
more in-depth look at them now.
## creating
new, push_str, String::from and .to_string()
new, String::from and .to_string()
## reading
slicing syntax, indexing
## updating
## implementaiton details
just like vecs with extra utf8 checks
push_str, concatenation

View File

@ -10,6 +10,3 @@ new, insert
entry!
## implementaiton details
still growable, but doesn't work like vec does