mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 14:23:09 +00:00
Update comment: s/var/anytype/ (#9611)
This commit is contained in:
parent
c465b34d32
commit
d5ef5da594
@ -259,7 +259,7 @@ pub const TypeInfo = union(enum) {
|
|||||||
/// This field is an optional type.
|
/// This field is an optional type.
|
||||||
/// The type of the sentinel is the element type of the array, which is
|
/// 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
|
/// the value of the `child` field in this struct. However there is no way
|
||||||
/// to refer to that type here, so we use `var`.
|
/// to refer to that type here, so we use `anytype`.
|
||||||
sentinel: anytype,
|
sentinel: anytype,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user