diff options
| author | Michael Wright <mikerite@lavabit.com> | 2020-09-15 21:25:03 +0200 |
|---|---|---|
| committer | Michael Wright <mikerite@lavabit.com> | 2020-09-15 21:32:27 +0200 |
| commit | 79a0e5110a0168945d43e334e6dc0d12e0bc1487 (patch) | |
| tree | 51f58f26ed21eb586dab57c0f00e5356a40d3c16 | |
| parent | ecbe9ac0e9b68b171e4a48db40e91e2e44370c2a (diff) | |
| download | rust-79a0e5110a0168945d43e334e6dc0d12e0bc1487.tar.gz rust-79a0e5110a0168945d43e334e6dc0d12e0bc1487.zip | |
manual-strip: Fix formatting
| -rw-r--r-- | clippy_lints/src/manual_strip.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clippy_lints/src/manual_strip.rs b/clippy_lints/src/manual_strip.rs index 127938aecd6..4afb0ab3bad 100644 --- a/clippy_lints/src/manual_strip.rs +++ b/clippy_lints/src/manual_strip.rs @@ -124,8 +124,7 @@ fn len_arg<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) -> Option<&'tcx E if match_def_path(cx, method_def_id, &paths::STR_LEN); then { Some(arg) - } - else { + } else { None } } |
