diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2018-04-26 10:11:11 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-26 10:11:11 +0200 |
| commit | 3b49b27e0cb07c8735b534c3825b491a585ab404 (patch) | |
| tree | ec776ae3163d4edba459366a2c474d952dba7739 /src/rustllvm/RustWrapper.cpp | |
| parent | c18778704c691c172274b23ee80927714ac2acc4 (diff) | |
| parent | 5d37ba1990bdc552694383d2a3c6cbeb72b77f49 (diff) | |
| download | rust-3b49b27e0cb07c8735b534c3825b491a585ab404.tar.gz rust-3b49b27e0cb07c8735b534c3825b491a585ab404.zip | |
Rollup merge of #50177 - matthiaskrgr:std_std_replacen__must_use, r=oli-obk
mark std::str::replace(,n) as #[must_use]
let x = "a b c c";
x.replacen("c", "d", 2");
might not do what people might think it does.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
