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

This commit is contained in:
Nguyễn Gia Phong 2021-08-23 21:22:27 +07:00 committed by GitHub
parent c465b34d32
commit d5ef5da594
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,
};