Correct stability marker in string.rs

This commit is contained in:
Squeaky 2014-09-27 02:37:28 +02:00
parent 5d653c17a6
commit 070ba14a71

View file

@ -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.