diff options
| author | aochagavia <aochagavia92@gmail.com> | 2014-03-13 21:28:36 +0100 |
|---|---|---|
| committer | aochagavia <aochagavia92@gmail.com> | 2014-03-13 21:45:21 +0100 |
| commit | 6ff207b415233072bff2efb4b7b0f5fe883348e5 (patch) | |
| tree | c41384e1d86119b2098ddf527a3f3efe2b769b13 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 62f1d68439dcfd509eaca29887afa97f22938373 (diff) | |
| download | rust-6ff207b415233072bff2efb4b7b0f5fe883348e5.tar.gz rust-6ff207b415233072bff2efb4b7b0f5fe883348e5.zip | |
Refactored while_some (libstd/option.rs)
The old 'while' needed to match 2 times for each iteration. With the new 'loop' there is just one match needed. I have also replaced 'blk' by 'f' to be more consistent with parameter names in other functions that are implemented for Option
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
