1
Fork 0

Use T::BITS instead of size_of::<T> * 8.

This commit is contained in:
Mara Bos 2020-09-08 21:39:13 +02:00
parent 5c30a16fa0
commit 1e2dba1e7c
17 changed files with 44 additions and 64 deletions

View file

@ -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;