Skip to content

Commit 6b167f9

Browse files
committed
Updated tracking issue for String::splice and its unstable-book entry
1 parent 7b932d2 commit 6b167f9

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/doc/unstable-book/src/library-features/splice.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
# `splice`
22

3-
The tracking issue for this feature is: [#32310]
3+
The tracking issue for this feature is: [#44643]
44

5-
[#32310]: https://github.com/rust-lang/rust/issues/32310
5+
[#44643]: https://github.com/rust-lang/rust/issues/44643
66

77
------------------------
88

99
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.
1211

1312
A simple example:
1413

src/liballoc/string.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1451,7 +1451,7 @@ impl String {
14511451
/// s.splice(..beta_offset, "Α is capital alpha; ");
14521452
/// assert_eq!(s, "Α is capital alpha; β is beta");
14531453
/// ```
1454-
#[unstable(feature = "splice", reason = "recently added", issue = "32310")]
1454+
#[unstable(feature = "splice", reason = "recently added", issue = "44643")]
14551455
pub fn splice<R>(&mut self, range: R, replace_with: &str)
14561456
where R: RangeArgument<usize>
14571457
{

0 commit comments

Comments
 (0)