diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-11-25 13:51:09 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-11-25 13:53:13 -0500 |
| commit | bdf3680be1b39f4a92370817ef0a7e8a9fdaa373 (patch) | |
| tree | af5df2c88b930db263f3b20ce5f4fdae42f0a10c /lib/std/builtin.zig | |
| parent | 8a4c2d3b07751507830416e29d6f7d6a023cd483 (diff) | |
| download | zig-bdf3680be1b39f4a92370817ef0a7e8a9fdaa373.tar.gz zig-bdf3680be1b39f4a92370817ef0a7e8a9fdaa373.zip | |
zig fmt
Diffstat (limited to 'lib/std/builtin.zig')
| -rw-r--r-- | lib/std/builtin.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/std/builtin.zig b/lib/std/builtin.zig index af045c5231..689c5cd898 100644 --- a/lib/std/builtin.zig +++ b/lib/std/builtin.zig @@ -144,6 +144,7 @@ pub const TypeInfo = union(enum) { alignment: comptime_int, child: type, is_allowzero: bool, + /// The type of the sentinel is the element type of the pointer, which is /// the value of the `child` field in this struct. However there is no way /// to refer to that type here, so we use `var`. @@ -164,6 +165,7 @@ pub const TypeInfo = union(enum) { pub const Array = struct { len: comptime_int, child: type, + /// The type of the sentinel is the element type of the array, which is /// the value of the `child` field in this struct. However there is no way /// to refer to that type here, so we use `var`. |
