diff options
| author | Mitchell Hashimoto <mitchell.hashimoto@gmail.com> | 2022-02-26 09:33:03 -0800 |
|---|---|---|
| committer | Mitchell Hashimoto <mitchell.hashimoto@gmail.com> | 2022-02-26 09:33:03 -0800 |
| commit | a5c9e8a49486b8bfb1cd12fbb0581d3213aaa53b (patch) | |
| tree | c5ad8dd77ee4bc988e1f3b8da3dedd9964fbe1cf | |
| parent | f0232fc07d3c8695de351d3000bc7eb3e3f1da5c (diff) | |
| download | zig-a5c9e8a49486b8bfb1cd12fbb0581d3213aaa53b.tar.gz zig-a5c9e8a49486b8bfb1cd12fbb0581d3213aaa53b.zip | |
typo in comment
| -rw-r--r-- | src/Sema.zig | 2 |
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; |
