about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2016-05-15 20:13:43 +0530
committerManish Goregaokar <manishsmail@gmail.com>2016-05-15 20:13:43 +0530
commit95ace6be43d3e037f8b812e03bd8ace3b0d9e50a (patch)
treef52eb50add0b6ce10386249a6f0f1cdabef79a08
parent762e5b1c0f2fcb10ed195f7e9963313c49ceccb5 (diff)
parentd4bff0cddaeedcac954c10930b71f5f2ceba286c (diff)
downloadrust-95ace6be43d3e037f8b812e03bd8ace3b0d9e50a.tar.gz
rust-95ace6be43d3e037f8b812e03bd8ace3b0d9e50a.zip
Rollup merge of #33598 - haikoschol:master, r=alexcrichton
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.