Skip to content

Commit 6185701

Browse files
budziqdtolnay
authored andcommitted
Updated tracking issue for String::splice and its unstable-book entry
1 parent bce9b14 commit 6185701

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
@@ -1420,7 +1420,7 @@ impl String {
14201420
/// assert_eq!(t, "α is alpha, ");
14211421
/// assert_eq!(s, "Α is capital alpha; β is beta");
14221422
/// ```
1423-
#[unstable(feature = "splice", reason = "recently added", issue = "32310")]
1423+
#[unstable(feature = "splice", reason = "recently added", issue = "44643")]
14241424
pub fn splice<'a, 'b, R>(&'a mut self, range: R, replace_with: &'b str) -> Splice<'a, 'b>
14251425
where R: RangeArgument<usize>
14261426
{

0 commit comments

Comments
 (0)