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