You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rollup merge of rust-lang#71780 - jcotton42:string_remove_matches, r=joshtriplett
Implement String::remove_matches
Closesrust-lang#50206.
I lifted the function help from `@frewsxcv's` original PR (rust-lang#50015), hope they don't mind.
I'm also wondering whether it would be useful for `remove_matches` to collect up the removed substrings into a `Vec` and return them, right now they're just overwritten by the copy and lost.
0 commit comments