aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMitchell Hashimoto <mitchell.hashimoto@gmail.com>2022-02-26 09:33:03 -0800
committerMitchell Hashimoto <mitchell.hashimoto@gmail.com>2022-02-26 09:33:03 -0800
commita5c9e8a49486b8bfb1cd12fbb0581d3213aaa53b (patch)
treec5ad8dd77ee4bc988e1f3b8da3dedd9964fbe1cf /src
parentf0232fc07d3c8695de351d3000bc7eb3e3f1da5c (diff)
downloadzig-a5c9e8a49486b8bfb1cd12fbb0581d3213aaa53b.tar.gz
zig-a5c9e8a49486b8bfb1cd12fbb0581d3213aaa53b.zip
typo in comment
Diffstat (limited to 'src')
-rw-r--r--src/Sema.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Sema.zig b/src/Sema.zig
index 650349f744..5c75339910 100644
--- 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;