Skip to content

Commit f38d353

Browse files
committed
Use the new String::splice tracking issue for string::Splice
I backported the stabilization of Vec::splice and the move of String::splice to the new tracking issue, but not the new signature of String::splice in 1.22. This combination requires updating the tracking issue on some code that no longer exists in nightly.
1 parent a8117df commit f38d353

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/liballoc/string.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -2250,7 +2250,7 @@ impl<'a> FusedIterator for Drain<'a> {}
22502250
/// [`splice()`]: struct.String.html#method.splice
22512251
/// [`String`]: struct.String.html
22522252
#[derive(Debug)]
2253-
#[unstable(feature = "splice", reason = "recently added", issue = "32310")]
2253+
#[unstable(feature = "splice", reason = "recently added", issue = "44643")]
22542254
pub struct Splice<'a, 'b> {
22552255
/// Will be used as &'a mut String in the destructor
22562256
string: *mut String,
@@ -2263,12 +2263,12 @@ pub struct Splice<'a, 'b> {
22632263
replace_with: &'b str,
22642264
}
22652265

2266-
#[unstable(feature = "splice", reason = "recently added", issue = "32310")]
2266+
#[unstable(feature = "splice", reason = "recently added", issue = "44643")]
22672267
unsafe impl<'a, 'b> Sync for Splice<'a, 'b> {}
2268-
#[unstable(feature = "splice", reason = "recently added", issue = "32310")]
2268+
#[unstable(feature = "splice", reason = "recently added", issue = "44643")]
22692269
unsafe impl<'a, 'b> Send for Splice<'a, 'b> {}
22702270

2271-
#[unstable(feature = "splice", reason = "recently added", issue = "32310")]
2271+
#[unstable(feature = "splice", reason = "recently added", issue = "44643")]
22722272
impl<'a, 'b> Drop for Splice<'a, 'b> {
22732273
fn drop(&mut self) {
22742274
unsafe {
@@ -2278,7 +2278,7 @@ impl<'a, 'b> Drop for Splice<'a, 'b> {
22782278
}
22792279
}
22802280

2281-
#[unstable(feature = "splice", reason = "recently added", issue = "32310")]
2281+
#[unstable(feature = "splice", reason = "recently added", issue = "44643")]
22822282
impl<'a, 'b> Iterator for Splice<'a, 'b> {
22832283
type Item = char;
22842284

@@ -2292,7 +2292,7 @@ impl<'a, 'b> Iterator for Splice<'a, 'b> {
22922292
}
22932293
}
22942294

2295-
#[unstable(feature = "splice", reason = "recently added", issue = "32310")]
2295+
#[unstable(feature = "splice", reason = "recently added", issue = "44643")]
22962296
impl<'a, 'b> DoubleEndedIterator for Splice<'a, 'b> {
22972297
#[inline]
22982298
fn next_back(&mut self) -> Option<char> {

0 commit comments

Comments
 (0)