From 4c0f01cc27a8ba8f86c7356f36bd94e437d32a39 Mon Sep 17 00:00:00 2001 From: Yuki OKUSHI Date: Mon, 29 Apr 2019 02:33:50 +0900 Subject: [PATCH] Stabilize str::as_mut_ptr --- src/libcore/str/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/str/mod.rs b/src/libcore/str/mod.rs index 7a5511ee1dc..89dfa0d3e48 100644 --- a/src/libcore/str/mod.rs +++ b/src/libcore/str/mod.rs @@ -2214,7 +2214,7 @@ impl str { /// modified in a way that it remains valid UTF-8. /// /// [`u8`]: primitive.u8.html - #[unstable(feature = "str_as_mut_ptr", issue = "58215")] + #[stable(feature = "str_as_mut_ptr", since = "1.36.0")] #[inline] pub fn as_mut_ptr(&mut self) -> *mut u8 { self as *mut str as *mut u8