nac3core: fix typo and remove the unnecessary 'return' statement

This commit is contained in:
z78078 2022-07-21 09:44:05 +08:00
parent c43be7388d
commit 6eb433b2e3

View File

@ -37,7 +37,7 @@ pub struct TopLevelComposer {
// number of built-in function and classes in the definition list, later skip
pub builtin_num: usize,
pub core_config: ComposerConfig,
// the class name and it's constructor function
// the class name and its constructor function
pub constructor_lookup: HashMap<StrRef, ast::Located<ast::StmtKind>>,
}
@ -185,7 +185,7 @@ impl TopLevelComposer {
return Some((**class_name, stmt.clone()))
}
}
return None
None
})
);