diff --git a/docs/modules/ROOT/pages/node_types.adoc b/docs/modules/ROOT/pages/node_types.adoc index 2dee1a72b..fa4507c0e 100644 --- a/docs/modules/ROOT/pages/node_types.adoc +++ b/docs/modules/ROOT/pages/node_types.adoc @@ -176,8 +176,6 @@ The following fields are given when relevant to nodes in the source code: |pair|One entry in a hash. |Two children, the key and value nodes.|1 => 2|https://rubydoc.info/github/rubocop-hq/rubocop-ast/RuboCop/AST/PairNode[PairNode] -|rasgn|Right-hand assignment|Two children, the node representing the value to assign and the assignment node.|1 => a | - |rational|Rational literal|One child, the Rational value|2.0r|N/A |redo|Redo command|None|redo|N/A diff --git a/lib/rubocop/ast/node.rb b/lib/rubocop/ast/node.rb index ac33f8848..6c5acb4f7 100644 --- a/lib/rubocop/ast/node.rb +++ b/lib/rubocop/ast/node.rb @@ -48,7 +48,7 @@ class Node < Parser::AST::Node # rubocop:disable Metrics/ClassLength # @api private EQUALS_ASSIGNMENTS = %i[lvasgn ivasgn cvasgn gvasgn - casgn masgn rasgn mrasgn].to_set.freeze + casgn masgn].to_set.freeze # @api private SHORTHAND_ASSIGNMENTS = %i[op_asgn or_asgn and_asgn].to_set.freeze # @api private