diff options
| author | bors <bors@rust-lang.org> | 2016-09-14 20:29:15 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-09-14 20:29:15 -0700 |
| commit | 16ff9e22cdb552fd10e6cee2eb22f0c5da6d7e79 (patch) | |
| tree | 3d42f5b6742c237ff7a6a7157f67c616080cb015 /src/rustllvm/RustWrapper.cpp | |
| parent | 6ffdda1ba183c981d57e63b59c88184be449eee4 (diff) | |
| parent | ebda77072a56a43d33d5723196a5ae37544a1ab9 (diff) | |
| download | rust-16ff9e22cdb552fd10e6cee2eb22f0c5da6d7e79.tar.gz rust-16ff9e22cdb552fd10e6cee2eb22f0c5da6d7e79.zip | |
Auto merge of #36347 - knight42:str-replacen, r=alexcrichton
Implement std::str::replacen
Replaces first N matches of a pattern with another string.
```
assert_eq!("acaaa".replacen(a, "b", 3), "bcbba")
```
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
