about summary refs log tree commit diff
diff options
context:
space:
mode:
authorHaiko Schol <hs@haikoschol.com>2016-05-12 21:49:14 +0200
committerHaiko Schol <hs@haikoschol.com>2016-05-12 21:49:14 +0200
commitd4bff0cddaeedcac954c10930b71f5f2ceba286c (patch)
treeb289ff2fd616f751d90fcc0f688af9f9fc9977df
parente88defe71806ad190588e168e513bc1098f7c9fb (diff)
downloadrust-d4bff0cddaeedcac954c10930b71f5f2ceba286c.tar.gz
rust-d4bff0cddaeedcac954c10930b71f5f2ceba286c.zip
doc: Fix comment in std::string::String example code
-rw-r--r--src/libcollections/string.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcollections/string.rs b/src/libcollections/string.rs
index 306fad2328b..eedf4c2c11f 100644
--- a/src/libcollections/string.rs
+++ b/src/libcollections/string.rs
@@ -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.