Skip to content

Commit 3034d1e

Browse files
Rexicon226alexrp
authored andcommitted
minor grammatical mistake
1 parent 75d0ec9 commit 3034d1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Sema.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11786,7 +11786,7 @@ fn zirSwitchBlock(sema: *Sema, block: *Block, inst: Zir.Inst.Index, operand_is_r
1178611786
return sema.failWithOwnedErrorMsg(block, msg: {
1178711787
const msg = try sema.errMsg(operand_src, "operand of switch loop has comptime-only type '{}'", .{operand_ty.fmt(pt)});
1178811788
errdefer msg.destroy(gpa);
11789-
try sema.errNote(operand_src, msg, "switch loops are evalauted at runtime outside of comptime scopes", .{});
11789+
try sema.errNote(operand_src, msg, "switch loops are evaluated at runtime outside of comptime scopes", .{});
1179011790
break :msg msg;
1179111791
});
1179211792
}

0 commit comments

Comments
 (0)