about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-03-22 15:48:35 +0100
committerGitHub <noreply@github.com>2020-03-22 15:48:35 +0100
commite58fec0c1cfa6f306940edb20d8d5f7a3a468d6e (patch)
treeb4f2cd7e4685a986232f478b843ba90b6891638c /src/rustllvm/RustWrapper.cpp
parent3c8f8b6304e6d8ec735f32a8286a1461f36feeb0 (diff)
parente45fdcfa9a611e4b29b727fb1c70ea60423f1c24 (diff)
downloadrust-e58fec0c1cfa6f306940edb20d8d5f7a3a468d6e.tar.gz
rust-e58fec0c1cfa6f306940edb20d8d5f7a3a468d6e.zip
Rollup merge of #70229 - matthiaskrgr:cl3ppy, r=Mark-Simulacrum
more clippy fixes

* remove unused unit values (clippy::unused_unit)
* make some let-if-bindings more idiomatic (clippy::useless_let_if_seq)
* clarify when we pass () to functions (clippy::unit_arg)
* don't redundantly repeat field names (clippy::redundant_field_names)
* remove redundant returns (clippy::needless_return)
* use let instead of match for matches with single bindings (clippy::match_single_binding)
* don't convert results to options just for matching (clippy::if_let_some_result)
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions