Skip to content

Commit

Permalink
dogfood
Browse files Browse the repository at this point in the history
  • Loading branch information
HMPerson1 committed Nov 8, 2019
1 parent d475842 commit 94b36d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clippy_lints/src/utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ pub fn in_constant(cx: &LateContext<'_, '_>, id: HirId) -> bool {
Node::Item(&Item {
kind: ItemKind::Fn(ref sig, ..),
..
}) => sig.header.constness == Constness::Const,
Node::ImplItem(&ImplItem {
})
| Node::ImplItem(&ImplItem {
kind: ImplItemKind::Method(ref sig, _),
..
}) => sig.header.constness == Constness::Const,
Expand Down

0 comments on commit 94b36d9

Please sign in to comment.