We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8d85869 + 4a4acbf commit 30cbf2bCopy full SHA for 30cbf2b
alloc/src/string.rs
@@ -1134,7 +1134,6 @@ impl String {
1134
/// # Examples
1135
///
1136
/// ```
1137
- /// #![feature(string_extend_from_within)]
1138
/// let mut string = String::from("abcde");
1139
1140
/// string.extend_from_within(2..);
@@ -1147,7 +1146,7 @@ impl String {
1147
1146
/// assert_eq!(string, "abcdecdeabecde");
1148
1149
#[cfg(not(no_global_oom_handling))]
1150
- #[unstable(feature = "string_extend_from_within", issue = "103806")]
+ #[stable(feature = "string_extend_from_within", since = "CURRENT_RUSTC_VERSION")]
1151
pub fn extend_from_within<R>(&mut self, src: R)
1152
where
1153
R: RangeBounds<usize>,
0 commit comments