We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d973049 + b017d48 commit 58438afCopy full SHA for 58438af
2 files changed
smart_ir/src/ir_codegen/context.rs
@@ -1151,7 +1151,7 @@ impl<'ctx> IR2LLVMCodeGenContext<'ctx> {
1151
// }
1152
1153
for ir_module in &self.ir_modules {
1154
- // scan all module's func defintions to use in other modules
+ // scan all module's func definitions to use in other modules
1155
for (_, function) in &ir_module.functions {
1156
self.func_definitions.borrow_mut().push(function.clone());
1157
}
smart_ir/src/ir_codegen/ir.rs
@@ -513,7 +513,7 @@ impl<'ctx> IR2LLVMCodeGenContext<'ctx> {
513
} else {
514
return Err(CodeGenError {
515
message:
516
- "try to get field from a pointer whose elemet isn't a struct"
+ "try to get field from a pointer whose element isn't a struct"
517
.to_string(),
518
});
519
0 commit comments