Skip to content

Commit 9a57e8c

Browse files
committed
Remove unecessary match arm panic
1 parent 22f25d2 commit 9a57e8c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

bindgen/ir/item.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -930,7 +930,6 @@ impl Item {
930930
ItemKind::Type(..) => crate::callbacks::ItemKind::Type,
931931
ItemKind::Function(..) => crate::callbacks::ItemKind::Function,
932932
ItemKind::Var(..) => crate::callbacks::ItemKind::Var,
933-
_ => panic!("Unexpected item kind"),
934933
},
935934
};
936935
ctx.options()

0 commit comments

Comments
 (0)