diff options
| author | Corey Farwell <coreyf@rwell.org> | 2015-04-06 13:47:24 -0700 |
|---|---|---|
| committer | Corey Farwell <coreyf@rwell.org> | 2015-04-06 13:47:24 -0700 |
| commit | 1a28237b4240f267a465e5179decbfdd7a26bf47 (patch) | |
| tree | 63ad095e136e10216cada957fa5c0a7c34df4c1b /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 9f37ba64e812713b273ad9818f05d852f6563b87 (diff) | |
| download | rust-1a28237b4240f267a465e5179decbfdd7a26bf47.tar.gz rust-1a28237b4240f267a465e5179decbfdd7a26bf47.zip | |
Alter libcore::result example to utilize closure param
Since it doesn't utilize the parameter, it's not very idiomatic since it could just use the `Result::or` method. So this changes the example to utilize the parameter. As far as I can tell, all the numbers in this example are completely arbitrary.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
