File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3810,7 +3810,7 @@ impl str {
3810
3810
/// ```
3811
3811
#[ must_use = "this returns the remaining substring as a new slice, \
3812
3812
without modifying the original"]
3813
- #[ unstable( feature = "str_strip" , reason = "newly added" , issue = "0 " ) ]
3813
+ #[ unstable( feature = "str_strip" , reason = "newly added" , issue = "67302 " ) ]
3814
3814
pub fn strip_prefix < ' a , P : Pattern < ' a > > ( & ' a self , prefix : P ) -> Option < & ' a str > {
3815
3815
let mut matcher = prefix. into_searcher ( self ) ;
3816
3816
if let SearchStep :: Match ( start, len) = matcher. next ( ) {
@@ -3843,7 +3843,7 @@ impl str {
3843
3843
/// ```
3844
3844
#[ must_use = "this returns the remaining substring as a new slice, \
3845
3845
without modifying the original"]
3846
- #[ unstable( feature = "str_strip" , reason = "newly added" , issue = "0 " ) ]
3846
+ #[ unstable( feature = "str_strip" , reason = "newly added" , issue = "67302 " ) ]
3847
3847
pub fn strip_suffix < ' a , P > ( & ' a self , suffix : P ) -> Option < & ' a str >
3848
3848
where
3849
3849
P : Pattern < ' a > ,
You can’t perform that action at this time.
0 commit comments