File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 > ,
You can’t perform that action at this time.
0 commit comments