remove unnecesary changes

This commit is contained in:
z78078 2022-07-08 17:15:49 +08:00
parent 5e32724c91
commit cf45d76668

View File

@ -1067,7 +1067,7 @@ impl TopLevelComposer {
let mut defined_fields: HashSet<_> = HashSet::new();
for b in class_body_ast {
match &b.node {
ast::StmtKind::FunctionDef { args, returns, name, .. }=> {
ast::StmtKind::FunctionDef { args, returns, name, .. } => {
let (method_dummy_ty, method_id) =
Self::get_class_method_def_info(class_methods_def, *name)?;