Skip to content

Commit 4a4acbf

Browse files
committed
Stablize string_extend_from_within
1 parent 474351c commit 4a4acbf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

alloc/src/string.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1137,7 +1137,6 @@ impl String {
11371137
/// # Examples
11381138
///
11391139
/// ```
1140-
/// #![feature(string_extend_from_within)]
11411140
/// let mut string = String::from("abcde");
11421141
///
11431142
/// string.extend_from_within(2..);
@@ -1150,7 +1149,7 @@ impl String {
11501149
/// assert_eq!(string, "abcdecdeabecde");
11511150
/// ```
11521151
#[cfg(not(no_global_oom_handling))]
1153-
#[unstable(feature = "string_extend_from_within", issue = "103806")]
1152+
#[stable(feature = "string_extend_from_within", since = "CURRENT_RUSTC_VERSION")]
11541153
pub fn extend_from_within<R>(&mut self, src: R)
11551154
where
11561155
R: RangeBounds<usize>,

0 commit comments

Comments
 (0)