about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2018-04-26 10:11:11 +0200
committerGitHub <noreply@github.com>2018-04-26 10:11:11 +0200
commit3b49b27e0cb07c8735b534c3825b491a585ab404 (patch)
treeec776ae3163d4edba459366a2c474d952dba7739 /src/rustllvm/RustWrapper.cpp
parentc18778704c691c172274b23ee80927714ac2acc4 (diff)
parent5d37ba1990bdc552694383d2a3c6cbeb72b77f49 (diff)
downloadrust-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