1
Fork 0

Merge commit '4911ab124c' into clippyup

This commit is contained in:
flip1995 2020-12-20 17:19:49 +01:00
parent f00b6ac24e
commit f03edfd7a1
116 changed files with 3199 additions and 1047 deletions

View file

@ -222,9 +222,8 @@ fn check_impl_items(cx: &LateContext<'_>, item: &Item<'_>, impl_items: &[ImplIte
let is_empty = if let Some(is_empty) = impl_items.iter().find(|i| is_named_self(cx, i, "is_empty")) {
if cx.access_levels.is_exported(is_empty.id.hir_id) {
return;
} else {
"a private"
}
"a private"
} else {
"no corresponding"
};