aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTadeo Kondrak <me@tadeo.ca>2020-04-28 19:10:09 -0600
committerTadeo Kondrak <me@tadeo.ca>2020-04-28 19:11:31 -0600
commit350b2adacda217014dc511ccc4cd73f22ddaac22 (patch)
tree519115799840c1abe4be6aa708a3ca5079fbd817 /test
parenteb183ad9febef775efabb1a4592f84d6cf088c28 (diff)
downloadzig-350b2adacda217014dc511ccc4cd73f22ddaac22.tar.gz
zig-350b2adacda217014dc511ccc4cd73f22ddaac22.zip
std.meta.IntType -> std.meta.Int
Diffstat (limited to 'test')
-rw-r--r--test/stage1/behavior/bit_shifting.zig4
1 files changed, 2 insertions, 2 deletions
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();