File tree 2 files changed +4
-5
lines changed
doc/unstable-book/src/library-features
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
1
# ` splice `
2
2
3
- The tracking issue for this feature is: [ #32310 ]
3
+ The tracking issue for this feature is: [ #44643 ]
4
4
5
- [ #32310 ] : https://github.com/rust-lang/rust/issues/32310
5
+ [ #44643 ] : https://github.com/rust-lang/rust/issues/44643
6
6
7
7
------------------------
8
8
9
9
The ` splice() ` method on ` String ` allows you to replace a range
10
- of values in a string with another range of values, and returns
11
- the replaced values.
10
+ of values in a string with another range of values.
12
11
13
12
A simple example:
14
13
Original file line number Diff line number Diff line change @@ -1451,7 +1451,7 @@ impl String {
1451
1451
/// s.splice(..beta_offset, "Α is capital alpha; ");
1452
1452
/// assert_eq!(s, "Α is capital alpha; β is beta");
1453
1453
/// ```
1454
- #[ unstable( feature = "splice" , reason = "recently added" , issue = "32310 " ) ]
1454
+ #[ unstable( feature = "splice" , reason = "recently added" , issue = "44643 " ) ]
1455
1455
pub fn splice < R > ( & mut self , range : R , replace_with : & str )
1456
1456
where R : RangeArgument < usize >
1457
1457
{
You can’t perform that action at this time.
0 commit comments