about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/common.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-03-19 00:47:37 +0000
committerbors <bors@rust-lang.org>2021-03-19 00:47:37 +0000
commiteb95acea8aeaeef834214eaffb15d64095fe9271 (patch)
tree1e13b205c657ee7584e35bf301bace177ef64bc5 /compiler/rustc_codegen_llvm/src/common.rs
parent1705a7d64b833d1c4b69958b0627bd054e6d764b (diff)
parenta2571cfc8b6f5cf5d8d2e7075ac4809aceae9541 (diff)
downloadrust-eb95acea8aeaeef834214eaffb15d64095fe9271.tar.gz
rust-eb95acea8aeaeef834214eaffb15d64095fe9271.zip
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.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/common.rs')
0 files changed, 0 insertions, 0 deletions