diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-04-29 22:22:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-29 22:22:42 +0200 |
| commit | c9b70144a365656b2f16a983bda57b66e978c058 (patch) | |
| tree | 226dcd4d477fc3e4c1ac3f1a0caef6dbca9c70bf /src/libcore | |
| parent | 3091961621fe4fc06892887b75d867b1bb0ec1ad (diff) | |
| parent | 4c0f01cc27a8ba8f86c7356f36bd94e437d32a39 (diff) | |
| download | rust-c9b70144a365656b2f16a983bda57b66e978c058.tar.gz rust-c9b70144a365656b2f16a983bda57b66e978c058.zip | |
Rollup merge of #60356 - JohnTitor:stabilize-as-mut-ptr, r=Centril
Stabilize str::as_mut_ptr Closes #58215
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/str/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/str/mod.rs b/src/libcore/str/mod.rs index c765e06301d..45421848cec 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 |
