Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 79a0e51

Browse files
author
Michael Wright
committed
manual-strip: Fix formatting
1 parent ecbe9ac commit 79a0e51

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clippy_lints/src/manual_strip.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,7 @@ fn len_arg<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) -> Option<&'tcx E
124124
if match_def_path(cx, method_def_id, &paths::STR_LEN);
125125
then {
126126
Some(arg)
127-
}
128-
else {
127+
} else {
129128
None
130129
}
131130
}

0 commit comments

Comments
 (0)