diff options
| author | Murarth <murarth@gmail.com> | 2017-07-26 15:09:32 -0700 |
|---|---|---|
| committer | Murarth <murarth@gmail.com> | 2017-08-14 20:42:26 -0700 |
| commit | 618ac89d256adca97518742db2ad2759c4f5fc72 (patch) | |
| tree | ee0c3f861bf2c64d78d5205c54a7273b2bdc9b39 /src/liballoc_jemalloc | |
| parent | 599be0d18f4c6ddf36366d2a5a2ca6dc65886896 (diff) | |
| download | rust-618ac89d256adca97518742db2ad2759c4f5fc72.tar.gz rust-618ac89d256adca97518742db2ad2759c4f5fc72.zip | |
Add method `String::retain`
Behaves like `Vec::retain`, accepting a predicate `FnMut(char) -> bool` and reducing the string to only characters for which the predicate returns `true`.
Diffstat (limited to 'src/liballoc_jemalloc')
0 files changed, 0 insertions, 0 deletions
