var -> anytype

This commit is contained in:
Robin Voetter
2020-07-12 14:13:13 +02:00
parent d18fe39488
commit 964ad1c0f9
5 changed files with 10 additions and 10 deletions

View File

@@ -540,7 +540,7 @@ pub fn parseVersion(xctok: *XmlCTokenizer) ![3][]const u8 {
return version;
}
fn testTokenizer(tokenizer: var, expected_tokens: []const Token) void {
fn testTokenizer(tokenizer: anytype, expected_tokens: []const Token) void {
for (expected_tokens) |expected| {
const tok = (tokenizer.next() catch unreachable).?;
testing.expectEqual(expected.kind, tok.kind);