diff options
| author | Pulkit Goyal <7895pulkit@gmail.com> | 2018-01-16 15:02:29 +0530 |
|---|---|---|
| committer | Pulkit Goyal <7895pulkit@gmail.com> | 2018-01-16 15:02:29 +0530 |
| commit | 1e436eb236b2f6ae37971669d2a633cb0a778be6 (patch) | |
| tree | 85a385ad0881afd82d252077e7e5efabba82827f /src/rustllvm/RustWrapper.cpp | |
| parent | fd075c6f2144b33385a596b36eece02ed5d8be62 (diff) | |
| download | rust-1e436eb236b2f6ae37971669d2a633cb0a778be6.tar.gz rust-1e436eb236b2f6ae37971669d2a633cb0a778be6.zip | |
return the boolean value directly instead of using if-else
Previous patch introduced something like if x {true} else {false} which can be
simply replaced by returning x here.
Thanks to @kennytm for spotting it.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
