rust/library/alloc
bors dda4a881e0 Auto merge of #83515 - tamird:string-remove-matches-rev, r=m-ou-se
String::remove_matches O(n^2) -> O(n)

Copy only non-matching bytes. Replace collection of matches into a
vector with iteration over rejections, exploiting the guarantee that we
mutate parts of the haystack that have already been searched over.

r? `@joshtriplett`
2021-06-08 01:05:48 +00:00
..
benches Update expressions where we can use array's IntoIterator implementation 2021-06-02 16:09:04 +06:00
src Auto merge of #83515 - tamird:string-remove-matches-rev, r=m-ou-se 2021-06-08 01:05:48 +00:00
tests Rollup merge of #85930 - mominul:array_into_iter, r=m-ou-se 2021-06-06 19:11:19 +09:00
Cargo.toml Add support for const operands and options to global_asm! 2021-05-13 22:31:57 +01:00