Files
rust/library/std/src
bors 8f0b945cfc Auto merge of #77853 - ijackson:slice-strip-stab, r=Amanieu
Stabilize slice::strip_prefix and slice::strip_suffix

These two methods are useful.  The corresponding methods on `str` are already stable.

I believe that stablising these now would not get in the way of, in the future, extending these to take a richer pattern API a la `str`'s patterns.

Tracking PR: #73413.  I also have an outstanding PR to improve the docs for these two functions and the corresponding ones on `str`: #75078

I have tried to follow the [instructions in the dev guide](https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#stabilization-pr).  The part to do with `compiler/rustc_feature` did not seem applicable.  I assume that's because these are just library features, so there is no corresponding machinery in rustc.
2021-01-07 15:21:30 +00:00
..
2020-11-07 16:15:48 +01:00
2020-12-22 12:19:46 +01:00
2020-12-29 02:10:29 -06:00
2020-11-22 17:11:41 -05:00
2020-10-21 20:44:03 -07:00
2020-09-02 17:37:40 -04:00
2020-09-04 14:00:09 -07:00
2020-11-22 17:11:41 -05:00
2020-12-30 09:27:19 -05:00
2020-11-22 17:11:41 -05:00