File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1151,7 +1151,7 @@ impl<'ctx> IR2LLVMCodeGenContext<'ctx> {
11511151 // }
11521152
11531153 for ir_module in & self . ir_modules {
1154- // scan all module's func defintions to use in other modules
1154+ // scan all module's func definitions to use in other modules
11551155 for ( _, function) in & ir_module. functions {
11561156 self . func_definitions . borrow_mut ( ) . push ( function. clone ( ) ) ;
11571157 }
Original file line number Diff line number Diff line change @@ -513,7 +513,7 @@ impl<'ctx> IR2LLVMCodeGenContext<'ctx> {
513513 } else {
514514 return Err ( CodeGenError {
515515 message :
516- "try to get field from a pointer whose elemet isn't a struct"
516+ "try to get field from a pointer whose element isn't a struct"
517517 . to_string ( ) ,
518518 } ) ;
519519 }
You can’t perform that action at this time.
0 commit comments