Fix Table::dup to not use Rusts's struct update syntax.
Yesterday, when fixing the hang bug (#1249), my first fix failed becauseTable::dup duplicated the notify_tournament_of_finished_hand field rather than setting it to false. At the time, I simply fixed that field, but the problem is struct update syntax will duplicate any new field that's added to Table, even if it shouldn't be duplicated. So, I will remove the update dyntax and make all the duplication explicit (and double-check every field) so that we won't get bitten by something similar later.
Fix
Table::dup
to not use Rusts's struct update syntax.Yesterday, when fixing the hang bug (#1249), my first fix failed because
Table::dup
duplicated thenotify_tournament_of_finished_hand
field rather than setting it to false. At the time, I simply fixed that field, but the problem is struct update syntax will duplicate any new field that's added toTable
, even if it shouldn't be duplicated. So, I will remove the update dyntax and make all the duplication explicit (and double-check every field) so that we won't get bitten by something similar later.