about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYuki OKUSHI <huyuumi.dev@gmail.com>2019-04-29 02:33:50 +0900
committerYuki OKUSHI <huyuumi.dev@gmail.com>2019-04-29 02:33:50 +0900
commit4c0f01cc27a8ba8f86c7356f36bd94e437d32a39 (patch)
tree249930fc43812583c20e23aaecd7f165c0a4a453
parent938d4ffe16c4430e1dcede570b06227114cb73d5 (diff)
downloadrust-4c0f01cc27a8ba8f86c7356f36bd94e437d32a39.tar.gz
rust-4c0f01cc27a8ba8f86c7356f36bd94e437d32a39.zip
Stabilize str::as_mut_ptr
-rw-r--r--src/libcore/str/mod.rs2
1 files changed, 1 insertions, 1 deletions
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