Skip to content

Commit

Permalink
StaticForeignItem and StaticItem are the same
Browse files Browse the repository at this point in the history
  • Loading branch information
compiler-errors committed Jun 20, 2024
1 parent c693f31 commit f6661f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clippy_utils/src/ast_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f6661f5

Please sign in to comment.