Commit bea1933
authored
Rollup merge of rust-lang#64721 - hman523:issue64447, r=estebank
Fixed issue from rust-lang#64447
Did two tiny fixes. One is a micro optimization since we know that max is going to be assigned a `usize`, we do not have to worry about a possible negative number.
The other issue that was fixed is that the max from the children isn't updated correctly. Now it will use `sub_result` instead of `primary` and will properly get the needed value.1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1043 | 1043 | | |
1044 | 1044 | | |
1045 | 1045 | | |
1046 | | - | |
1047 | 1046 | | |
1048 | 1047 | | |
1049 | | - | |
| 1048 | + | |
1050 | 1049 | | |
1051 | 1050 | | |
1052 | 1051 | | |
1053 | | - | |
| 1052 | + | |
1054 | 1053 | | |
1055 | 1054 | | |
1056 | 1055 | | |
| |||
0 commit comments