Commit 5c40e51
committed
Use
This ports rust-lang/rust@1e2dba1e, part of rust-lang/rust#76492.
`usize::BITS` was stabilized in Rust 1.53.0.usize::BITS instead of 8 * std::mem::size_of::<usize>()
1 parent 52a20d8 commit 5c40e51
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| |||
1008 | 1008 | | |
1009 | 1009 | | |
1010 | 1010 | | |
1011 | | - | |
1012 | | - | |
1013 | 1011 | | |
1014 | 1012 | | |
1015 | | - | |
| 1013 | + | |
1016 | 1014 | | |
1017 | 1015 | | |
1018 | 1016 | | |
| |||
0 commit comments