From 350b2adacda217014dc511ccc4cd73f22ddaac22 Mon Sep 17 00:00:00 2001 From: Tadeo Kondrak Date: Tue, 28 Apr 2020 19:10:09 -0600 Subject: std.meta.IntType -> std.meta.Int --- test/stage1/behavior/bit_shifting.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/stage1/behavior/bit_shifting.zig b/test/stage1/behavior/bit_shifting.zig index c71b95e0cc..7306acba4a 100644 --- a/test/stage1/behavior/bit_shifting.zig +++ b/test/stage1/behavior/bit_shifting.zig @@ -2,9 +2,9 @@ const std = @import("std"); const expect = std.testing.expect; fn ShardedTable(comptime Key: type, comptime mask_bit_count: comptime_int, comptime V: type) type { - expect(Key == std.meta.IntType(false, Key.bit_count)); + expect(Key == std.meta.Int(false, Key.bit_count)); expect(Key.bit_count >= mask_bit_count); - const ShardKey = std.meta.IntType(false, mask_bit_count); + const ShardKey = std.meta.Int(false, mask_bit_count); const shift_amount = Key.bit_count - ShardKey.bit_count; return struct { const Self = @This(); -- cgit v1.2.3