]> git.lizzy.rs Git - rust.git/commit
Use `T::BITS` instead of `size_of::<T> * 8`.
authorMara Bos <m-ou.se@m-ou.se>
Tue, 8 Sep 2020 19:39:13 +0000 (21:39 +0200)
committerMara Bos <m-ou.se@m-ou.se>
Sat, 19 Sep 2020 04:54:42 +0000 (06:54 +0200)
commit1e2dba1e7cf15442257f2cd3ddfe5d0462ee9102
tree402ea425d8883c2c501f563220fddf001d0f91c2
parent5c30a16fa03efaf87241b363f4323743746c12b0
Use `T::BITS` instead of `size_of::<T> * 8`.
17 files changed:
compiler/rustc_data_structures/src/lib.rs
compiler/rustc_data_structures/src/tagged_ptr/copy.rs
library/alloc/src/collections/binary_heap.rs
library/alloc/src/lib.rs
library/alloc/src/raw_vec.rs
library/alloc/tests/lib.rs
library/alloc/tests/string.rs
library/alloc/tests/vec.rs
library/core/src/fmt/mod.rs
library/core/src/num/bignum.rs
library/core/src/slice/sort.rs
library/core/tests/iter.rs
library/core/tests/lib.rs
library/core/tests/num/int_macros.rs
library/core/tests/num/uint_macros.rs
library/panic_unwind/src/dwarf/mod.rs
library/panic_unwind/src/lib.rs