mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 05:03:21 +00:00
StaticForeignItem and StaticItem are the same
This commit is contained in:
parent
c693f31ee2
commit
f6661f5b9b
1 changed files with 2 additions and 2 deletions
|
@ -449,13 +449,13 @@ pub fn eq_foreign_item_kind(l: &ForeignItemKind, r: &ForeignItemKind) -> bool {
|
|||
use ForeignItemKind::*;
|
||||
match (l, r) {
|
||||
(
|
||||
Static(box StaticForeignItem {
|
||||
Static(box StaticItem {
|
||||
ty: lt,
|
||||
mutability: lm,
|
||||
expr: le,
|
||||
safety: ls,
|
||||
}),
|
||||
Static(box StaticForeignItem {
|
||||
Static(box StaticItem {
|
||||
ty: rt,
|
||||
mutability: rm,
|
||||
expr: re,
|
||||
|
|
Loading…
Reference in a new issue