Skip to content

Commit 6c22d4f

Browse files
authored
Rollup merge of rust-lang#60356 - JohnTitor:stabilize-as-mut-ptr, r=Centril
Stabilize str::as_mut_ptr Closes rust-lang#58215
2 parents 561f9fc + 4c0f01c commit 6c22d4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/str/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2214,7 +2214,7 @@ impl str {
22142214
/// modified in a way that it remains valid UTF-8.
22152215
///
22162216
/// [`u8`]: primitive.u8.html
2217-
#[unstable(feature = "str_as_mut_ptr", issue = "58215")]
2217+
#[stable(feature = "str_as_mut_ptr", since = "1.36.0")]
22182218
#[inline]
22192219
pub fn as_mut_ptr(&mut self) -> *mut u8 {
22202220
self as *mut str as *mut u8

0 commit comments

Comments
 (0)