aboutsummaryrefslogtreecommitdiff
path: root/src/Sema.zig
diff options
context:
space:
mode:
authorsobolevn <mail@sobolevn.me>2024-07-20 20:23:18 +0300
committersobolevn <mail@sobolevn.me>2024-07-20 20:23:18 +0300
commit4c71d3f29e99d5fc4e69d842457933dc55fc7ac5 (patch)
treecdaf83ab99f822398e48eb19985d47544136db07 /src/Sema.zig
parentef3a746da1a85a8b4a653cb78e0464c71d35b64e (diff)
downloadzig-4c71d3f29e99d5fc4e69d842457933dc55fc7ac5.tar.gz
zig-4c71d3f29e99d5fc4e69d842457933dc55fc7ac5.zip
Fix typos in code comments in `src/`
Diffstat (limited to 'src/Sema.zig')
-rw-r--r--src/Sema.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Sema.zig b/src/Sema.zig
index b2603a98a8..e9b6615f14 100644
--- a/src/Sema.zig
+++ b/src/Sema.zig
@@ -239,7 +239,7 @@ pub const InferredErrorSet = struct {
/// Stores the mapping from `Zir.Inst.Index -> Air.Inst.Ref`, which is used by sema to resolve
/// instructions during analysis.
/// Instead of a hash table approach, InstMap is simply a slice that is indexed into using the
-/// zir instruction index and a start offset. An index is not pressent in the map if the value
+/// zir instruction index and a start offset. An index is not present in the map if the value
/// at the index is `Air.Inst.Ref.none`.
/// `ensureSpaceForInstructions` can be called to force InstMap to have a mapped range that
/// includes all instructions in a slice. After calling this function, `putAssumeCapacity*` can