Skip to content

Commit b5d8252

Browse files
committed
run cargo fmt
1 parent e17dd4e commit b5d8252

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

clippy_lints/src/len_zero.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -191,10 +191,7 @@ fn check_impl_items(cx: &LateContext<'_, '_>, item: &Item, impl_items: &[ImplIte
191191
}
192192

193193
let is_empty = if let Some(is_empty) = impl_items.iter().find(|i| is_named_self(cx, i, "is_empty")) {
194-
if cx
195-
.access_levels
196-
.is_exported(is_empty.id.hir_id)
197-
{
194+
if cx.access_levels.is_exported(is_empty.id.hir_id) {
198195
return;
199196
} else {
200197
"a private"

0 commit comments

Comments
 (0)