aboutsummaryrefslogtreecommitdiff
path: root/src/type.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/type.zig')
-rw-r--r--src/type.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/type.zig b/src/type.zig
index 90e79a8eed..8084da34de 100644
--- a/src/type.zig
+++ b/src/type.zig
@@ -4400,7 +4400,7 @@ pub const Type = extern union {
};
/// Get an iterator that iterates over all the struct field, returning the field and
- /// offset of that field. Asserts that the type is a none packed struct.
+ /// offset of that field. Asserts that the type is a non-packed struct.
pub fn iterateStructOffsets(ty: Type, target: Target) StructOffsetIterator {
const struct_obj = ty.castTag(.@"struct").?.data;
assert(struct_obj.haveLayout());