Use T::BITS
instead of size_of::<T> * 8
.
This commit is contained in:
parent
5c30a16fa0
commit
1e2dba1e7c
17 changed files with 44 additions and 64 deletions
|
@ -52,6 +52,7 @@
|
|||
#![feature(partition_point)]
|
||||
#![feature(once_cell)]
|
||||
#![feature(unsafe_block_in_unsafe_fn)]
|
||||
#![feature(int_bits_const)]
|
||||
#![deny(unsafe_op_in_unsafe_fn)]
|
||||
|
||||
extern crate test;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue