Correct stability marker in string.rs
This commit is contained in:
parent
5d653c17a6
commit
070ba14a71
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user