diff options
| author | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2016-08-14 20:29:51 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-08-14 20:29:51 +0300 |
| commit | 5766b4257248a73b6cbe85b13482f09c9aa2ccdd (patch) | |
| tree | d38bad68f7ea287ff281f160aa9b5b064f37e656 /src/rustllvm/RustWrapper.cpp | |
| parent | 15f66ad326555011abaccaa2d4a758833cc7d2a1 (diff) | |
| parent | 3042fba44c82a42e427b9e301f3d3f3412e747dc (diff) | |
| download | rust-5766b4257248a73b6cbe85b13482f09c9aa2ccdd.tar.gz rust-5766b4257248a73b6cbe85b13482f09c9aa2ccdd.zip | |
Rollup merge of #35620 - cvubrugier:master, r=Manishearth
book: fix the hidden find() functions in error-handling.md The hidden find() functions always returns None. Consequently, one of the examples using find() prints "No file extension found" instead of "File extension: rs" which is the expected output. This patch fixes the issue by implementing find() with std::str::find(). Signed-off-by: Christophe Vu-Brugier <cvubrugier@fastmail.fm>
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
