Skip to content

Commit 30cbf2b

Browse files
authored
Rollup merge of rust-lang#137569 - aDotInTheVoid:for-iurii, r=ibraheemdev
Stabilize `string_extend_from_within` FCP'd here: rust-lang#103806 (comment). Closes rust-lang#103806.
2 parents 8d85869 + 4a4acbf commit 30cbf2b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: alloc/src/string.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1134,7 +1134,6 @@ impl String {
11341134
/// # Examples
11351135
///
11361136
/// ```
1137-
/// #![feature(string_extend_from_within)]
11381137
/// let mut string = String::from("abcde");
11391138
///
11401139
/// string.extend_from_within(2..);
@@ -1147,7 +1146,7 @@ impl String {
11471146
/// assert_eq!(string, "abcdecdeabecde");
11481147
/// ```
11491148
#[cfg(not(no_global_oom_handling))]
1150-
#[unstable(feature = "string_extend_from_within", issue = "103806")]
1149+
#[stable(feature = "string_extend_from_within", since = "CURRENT_RUSTC_VERSION")]
11511150
pub fn extend_from_within<R>(&mut self, src: R)
11521151
where
11531152
R: RangeBounds<usize>,

0 commit comments

Comments
 (0)