about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSqueaky <squeaky_pl@gmx.com>2014-09-27 02:37:28 +0200
committerSqueaky <squeaky_pl@gmx.com>2014-09-27 02:37:28 +0200
commit070ba14a713368d8c152bb36e61430b197541c2e (patch)
treed569cf7c6ea0fc7630d9ca7824448ef8c07d514f
parent5d653c17a656e8fe1572c7a695e33b188eda0597 (diff)
downloadrust-070ba14a713368d8c152bb36e61430b197541c2e.tar.gz
rust-070ba14a713368d8c152bb36e61430b197541c2e.zip
Correct stability marker in string.rs
-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 6843996a9e1..ed0767f8edd 100644
--- a/src/libcollections/string.rs
+++ b/src/libcollections/string.rs
@@ -530,7 +530,7 @@ impl String {
     /// assert_eq!(s.as_slice(), "abc123");
     /// ```
     #[inline]
-    #[stable = "function just renamed from push"]
+    #[stable = "function just renamed from push_char"]
     pub fn push(&mut self, ch: char) {
         let cur_len = self.len();
         // This may use up to 4 bytes.