about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-09-14 20:29:15 -0700
committerGitHub <noreply@github.com>2016-09-14 20:29:15 -0700
commit16ff9e22cdb552fd10e6cee2eb22f0c5da6d7e79 (patch)
tree3d42f5b6742c237ff7a6a7157f67c616080cb015 /src/rustllvm/RustWrapper.cpp
parent6ffdda1ba183c981d57e63b59c88184be449eee4 (diff)
parentebda77072a56a43d33d5723196a5ae37544a1ab9 (diff)
downloadrust-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