Rollup merge of #33598 - haikoschol:master, r=alexcrichton
doc: Fix comment in std::string::String example code
This commit is contained in:
commit
95ace6be43
@ -184,7 +184,7 @@ use boxed::Box;
|
||||
/// let len = story.len();
|
||||
/// let capacity = story.capacity();
|
||||
///
|
||||
/// // story has thirteen bytes
|
||||
/// // story has nineteen bytes
|
||||
/// assert_eq!(19, len);
|
||||
///
|
||||
/// // Now that we have our parts, we throw the story away.
|
||||
|
Loading…
x
Reference in New Issue
Block a user