Skip to content

Commit 6176051

Browse files
committed
Set tracking issue for str_strip
1 parent 4718e20 commit 6176051

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/libcore/str/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -3810,7 +3810,7 @@ impl str {
38103810
/// ```
38113811
#[must_use = "this returns the remaining substring as a new slice, \
38123812
without modifying the original"]
3813-
#[unstable(feature = "str_strip", reason = "newly added", issue = "0")]
3813+
#[unstable(feature = "str_strip", reason = "newly added", issue = "67302")]
38143814
pub fn strip_prefix<'a, P: Pattern<'a>>(&'a self, prefix: P) -> Option<&'a str> {
38153815
let mut matcher = prefix.into_searcher(self);
38163816
if let SearchStep::Match(start, len) = matcher.next() {
@@ -3843,7 +3843,7 @@ impl str {
38433843
/// ```
38443844
#[must_use = "this returns the remaining substring as a new slice, \
38453845
without modifying the original"]
3846-
#[unstable(feature = "str_strip", reason = "newly added", issue = "0")]
3846+
#[unstable(feature = "str_strip", reason = "newly added", issue = "67302")]
38473847
pub fn strip_suffix<'a, P>(&'a self, suffix: P) -> Option<&'a str>
38483848
where
38493849
P: Pattern<'a>,

0 commit comments

Comments
 (0)