rust/library/alloc/tests
bors eb95acea8a Auto merge of #71780 - jcotton42:string_remove_matches, r=joshtriplett
Implement String::remove_matches

Closes #50206.

I lifted the function help from `@frewsxcv's` original PR (#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.
2021-03-19 00:47:37 +00:00
..
arc.rs
binary_heap.rs
borrow.rs
boxed.rs
btree_set_hash.rs
cow_str.rs
fmt.rs
heap.rs Rename AllocRef to Allocator and (de)alloc to (de)allocate 2020-12-04 14:47:15 +01:00
lib.rs Auto merge of #71780 - jcotton42:string_remove_matches, r=joshtriplett 2021-03-19 00:47:37 +00:00
linked_list.rs
rc.rs
slice.rs Update the bootstrap compiler 2021-02-20 17:19:30 -05:00
str.rs break formatting so rustfmt is happy 2020-12-02 14:09:36 +01:00
string.rs Implement String::remove_matches 2021-03-05 11:27:58 -05:00
vec_deque.rs replace assert! with assert_eq! 2020-12-13 10:21:24 +01:00
vec.rs Vec::dedup optimization - add benches 2021-03-16 14:41:26 +01:00