[ruby/prism] Remove no-op assignment

https://github.com/ruby/prism/commit/4b3079d9e8
This commit is contained in:
Haldun Bayhantopcu 2023-11-30 15:55:11 +01:00 committed by git
parent 85092ecd6f
commit 0d1917aead

View File

@ -10981,7 +10981,6 @@ parse_targets(pm_parser_t *parser, pm_node_t *first_target, pm_binding_power_t b
// We'll set the implicit rest flag to indicate this. // We'll set the implicit rest flag to indicate this.
pm_node_t *rest = (pm_node_t *) pm_implicit_rest_node_create(parser, &parser->previous); pm_node_t *rest = (pm_node_t *) pm_implicit_rest_node_create(parser, &parser->previous);
pm_multi_target_node_targets_append(parser, result, rest); pm_multi_target_node_targets_append(parser, result, rest);
has_rest = true;
break; break;
} }
} }