aboutsummaryrefslogtreecommitdiff
path: root/src/Sema.zig
diff options
context:
space:
mode:
authorJosh Soref <2119212+jsoref@users.noreply.github.com>2021-09-24 13:39:20 -0400
committerGitHub <noreply@github.com>2021-09-24 13:39:20 -0400
commit664941bf14cad3e62b453f83153ca4b65606707b (patch)
tree776a9f1b32a06e6cc71be4dd77f72f80be01e1b2 /src/Sema.zig
parentef7fa76001f873824b0f64dfc2172ed2f304c348 (diff)
downloadzig-664941bf14cad3e62b453f83153ca4b65606707b.tar.gz
zig-664941bf14cad3e62b453f83153ca4b65606707b.zip
Spelling corrections (#9833)
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
Diffstat (limited to 'src/Sema.zig')
-rw-r--r--src/Sema.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Sema.zig b/src/Sema.zig
index cc7a227ca6..2fa12baca6 100644
--- a/src/Sema.zig
+++ b/src/Sema.zig
@@ -11164,7 +11164,7 @@ fn getBuiltinType(
}
/// There is another implementation of this in `Type.onePossibleValue`. This one
-/// in `Sema` is for calling during semantic analysis, and peforms field resolution
+/// in `Sema` is for calling during semantic analysis, and performs field resolution
/// to get the answer. The one in `Type` is for calling during codegen and asserts
/// that the types are already resolved.
fn typeHasOnePossibleValue(
@@ -11541,7 +11541,7 @@ fn analyzeComptimeAlloc(
/// The places where a user can specify an address space attribute
pub const AddressSpaceContext = enum {
- /// A function is specificed to be placed in a certain address space.
+ /// A function is specified to be placed in a certain address space.
function,
/// A (global) variable is specified to be placed in a certain address space.
@@ -11553,7 +11553,7 @@ pub const AddressSpaceContext = enum {
/// In contrast to .variable, values placed in this address space are not required to be mutable.
constant,
- /// A pointer is ascripted to point into a certian address space.
+ /// A pointer is ascripted to point into a certain address space.
pointer,
};