diff options
| author | Veikka Tuominen <git@vexu.eu> | 2022-08-21 17:24:04 +0300 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2022-08-22 11:19:20 +0300 |
| commit | 62ff8871ed9c8c4e46d8acd1d227ed3fb802be7f (patch) | |
| tree | b5bdd3f092ebc0b7e9c260df798b7019f69cdae7 /lib/std/priority_dequeue.zig | |
| parent | 6c020cdb767192757b6c4b43e2f14c5394760431 (diff) | |
| download | zig-62ff8871ed9c8c4e46d8acd1d227ed3fb802be7f.tar.gz zig-62ff8871ed9c8c4e46d8acd1d227ed3fb802be7f.zip | |
stage2+stage1: remove type parameter from bit builtins
Closes #12529
Closes #12511
Closes #6835
Diffstat (limited to 'lib/std/priority_dequeue.zig')
| -rw-r--r-- | lib/std/priority_dequeue.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/priority_dequeue.zig b/lib/std/priority_dequeue.zig index 228c6d62ae..ae403c1d03 100644 --- a/lib/std/priority_dequeue.zig +++ b/lib/std/priority_dequeue.zig @@ -69,7 +69,7 @@ pub fn PriorityDequeue(comptime T: type, comptime Context: type, comptime compar // The first element is on a min layer; // next two are on a max layer; // next four are on a min layer, and so on. - const leading_zeros = @clz(usize, index + 1); + const leading_zeros = @clz(index + 1); const highest_set_bit = @bitSizeOf(usize) - 1 - leading_zeros; return (highest_set_bit & 1) == 0; } |
