diff --git a/src/libcollections/string.rs b/src/libcollections/string.rs index 6843996a9e145..ed0767f8eddf9 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.