Commit c981d67
committed
[!] Use
I believe the previous code was calling `ops::Add::add` instead of the
`+` operator to get this behavior.rustc_inherit_overflow_checks in next_power_of_two
1 parent a29424a commit c981d67
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
4042 | 4041 | | |
4043 | 4042 | | |
4044 | 4043 | | |
| 4044 | + | |
4045 | 4045 | | |
4046 | | - | |
4047 | | - | |
| 4046 | + | |
4048 | 4047 | | |
4049 | 4048 | | |
4050 | 4049 | | |
| |||
0 commit comments