lib/rubocop/cop/style/redundant_assignment.rb in rubocop-1.29.1 vs lib/rubocop/cop/style/redundant_assignment.rb in rubocop-1.30.0
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
module RuboCop
module Cop
module Style
- # This cop checks for redundant assignment before returning.
+ # Checks for redundant assignment before returning.
#
# @example
# # bad
# def test
# x = foo