mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 15:11:30 +00:00
dogfood
This commit is contained in:
parent
d4758420e6
commit
94b36d9ca4
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue