authorgravatar for mcsinyx@disroot.orgNguyễn Gia Phong <mcsinyx@disroot.org> 2021-08-23 21:22:27+07:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2021-08-23 16:22:27+02:00
logd5ef5da5947d24792933847454c84daf1282b29e
treee7d38e2e9669f38246acf6e168b78c4d4fabcabf
parentc465b34d32725f1f0bd019f6ecb77ece6b667320
signaturebadge-question-mark Signed by PGP key 4AEE18F83AFDEB23

Update comment: s/var/anytype/ (#9611)


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/builtin.zig+1-1
...@@ -259,7 +259,7 @@ pub const TypeInfo = union(enum) {...@@ -259,7 +259,7 @@ pub const TypeInfo = union(enum) {
259 /// This field is an optional type.259 /// This field is an optional type.
260 /// The type of the sentinel is the element type of the array, which is260 /// The type of the sentinel is the element type of the array, which is
261 /// the value of the `child` field in this struct. However there is no way261 /// the value of the `child` field in this struct. However there is no way
262 /// to refer to that type here, so we use `var`.262 /// to refer to that type here, so we use `anytype`.
263 sentinel: anytype,263 sentinel: anytype,
264 };264 };
265265