commit d5ef5da5947d24792933847454c84daf1282b29e (tree)
parent c465b34d32725f1f0bd019f6ecb77ece6b667320
Author: Nguyễn Gia Phong <mcsinyx@disroot.org>
Date: Mon, 23 Aug 2021 21:22:27 +0700
Update comment: s/var/anytype/ (#9611)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/std/builtin.zig b/lib/std/builtin.zig
@@ -259,7 +259,7 @@ pub const TypeInfo = union(enum) {
/// This field is an optional 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`.
+ /// to refer to that type here, so we use `anytype`.
sentinel: anytype,
};