Skip to content

Commit d4bff0c

Browse files
committed
doc: Fix comment in std::string::String example code
1 parent e88defe commit d4bff0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcollections/string.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ use boxed::Box;
184184
/// let len = story.len();
185185
/// let capacity = story.capacity();
186186
///
187-
/// // story has thirteen bytes
187+
/// // story has nineteen bytes
188188
/// assert_eq!(19, len);
189189
///
190190
/// // Now that we have our parts, we throw the story away.

0 commit comments

Comments
 (0)