diff options
| author | Alona Enraght-Moony <code@alona.page> | 2025-02-24 23:34:46 +0000 |
|---|---|---|
| committer | Alona Enraght-Moony <code@alona.page> | 2025-02-24 23:34:46 +0000 |
| commit | 78615ff2ae2813a1fd4e26ab1d9f7e914f6c7902 (patch) | |
| tree | 7d3aa7e74d358244c2b00ba3689cc156ff22407d /library/alloc/src | |
| parent | 617aad8c2e8783f6df8e5d1f8bb1e4bcdc70aa7b (diff) | |
| download | rust-78615ff2ae2813a1fd4e26ab1d9f7e914f6c7902.tar.gz rust-78615ff2ae2813a1fd4e26ab1d9f7e914f6c7902.zip | |
Stablize `string_extend_from_within`
Diffstat (limited to 'library/alloc/src')
| -rw-r--r-- | library/alloc/src/string.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/library/alloc/src/string.rs b/library/alloc/src/string.rs index 9446afd4b24..88227688ede 100644 --- a/library/alloc/src/string.rs +++ b/library/alloc/src/string.rs @@ -1137,7 +1137,6 @@ impl String { /// # Examples /// /// ``` - /// #![feature(string_extend_from_within)] /// let mut string = String::from("abcde"); /// /// string.extend_from_within(2..); @@ -1150,7 +1149,7 @@ impl String { /// assert_eq!(string, "abcdecdeabecde"); /// ``` #[cfg(not(no_global_oom_handling))] - #[unstable(feature = "string_extend_from_within", issue = "103806")] + #[stable(feature = "string_extend_from_within", since = "CURRENT_RUSTC_VERSION")] pub fn extend_from_within<R>(&mut self, src: R) where R: RangeBounds<usize>, |
