zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit a5c9e8a49486b8bfb1cd12fbb0581d3213aaa53b (tree)
parent f0232fc07d3c8695de351d3000bc7eb3e3f1da5c
Author: Mitchell Hashimoto <mitchell.hashimoto@gmail.com>
Date:   Sat, 26 Feb 2022 09:33:03 -0800

typo in comment

Diffstat:
Msrc/Sema.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Sema.zig b/src/Sema.zig @@ -16994,7 +16994,7 @@ fn resolvePeerTypes( if (candidate_ty.eql(chosen_ty)) continue; - // If the candidate can coernce into our chosen type, we're done. + // If the candidate can coerce into our chosen type, we're done. // If the chosen type can coerce into the candidate, use that. if ((try sema.coerceInMemoryAllowed(block, chosen_ty, candidate_ty, false, target, src, src)) == .ok) { continue;