Skip to content

Commit 94b36d9

Browse files
committed
dogfood
1 parent d475842 commit 94b36d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/utils/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ pub fn in_constant(cx: &LateContext<'_, '_>, id: HirId) -> bool {
8989
Node::Item(&Item {
9090
kind: ItemKind::Fn(ref sig, ..),
9191
..
92-
}) => sig.header.constness == Constness::Const,
93-
Node::ImplItem(&ImplItem {
92+
})
93+
| Node::ImplItem(&ImplItem {
9494
kind: ImplItemKind::Method(ref sig, _),
9595
..
9696
}) => sig.header.constness == Constness::Const,

0 commit comments

Comments
 (0)