about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-03-31 09:04:38 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-03-31 09:04:38 +0530
commit8225a1cf901e5ac12abcbc15c9f384ab9714524e (patch)
treeb1f7dcadd0b5ed2071208fa8096a02f268544a0b /src/rustllvm/ExecutionEngineWrapper.cpp
parentb4457fb8a2157d7e9a983ba67e5554509017379d (diff)
parent085bcfa37e42d807eb292085b57d0559424635a8 (diff)
downloadrust-8225a1cf901e5ac12abcbc15c9f384ab9714524e.tar.gz
rust-8225a1cf901e5ac12abcbc15c9f384ab9714524e.zip
Rollup merge of #23862 - jviereck:fix_23713_v2, r=steveklabnik
Based on the comment from @apasel422  in https://github.com/rust-lang/rust/pull/23791#issuecomment-87095298.
Where @apasel422 proposed
```
Moves the value out of the option if it is `Some`, or panics if it is `None`.
```
I include in this PR the version
```
Moves the value `v` out of the `Option` if it is `Some(v)`, or panics if it is `None`.
```
which 
- is a little bit more precise about what value is actually returned
- uses `Option` over just "option" in the part `out of the [Option]

r? @steveklabnik, @apasel422
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions