diff options
| author | Palmer Cox <p@lmercox.com> | 2014-02-19 21:53:46 -0500 |
|---|---|---|
| committer | Palmer Cox <p@lmercox.com> | 2014-03-12 22:42:50 -0400 |
| commit | 9ba6bb5a71adeb861f8bf21c2b1f2fde3132480d (patch) | |
| tree | 8b334634887fcd0a6ba5a2ed926aec010386fc05 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 2eebeb81372e320510a1c1e2eef96eb5146a1e1f (diff) | |
| download | rust-9ba6bb5a71adeb861f8bf21c2b1f2fde3132480d.tar.gz rust-9ba6bb5a71adeb861f8bf21c2b1f2fde3132480d.zip | |
Update io iterators to produce IoResults
Most IO related functions return an IoResult so that the caller can handle failure in whatever way is appropriate. However, the `lines`, `bytes`, and `chars` iterators all supress errors. This means that code that needs to handle errors can't use any of these iterators. All three of these iterators were updated to produce IoResults. Fixes #12368
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
