lib/rubocop/cop/style/non_nil_check.rb in rubocop-1.29.1 vs lib/rubocop/cop/style/non_nil_check.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 non-nil checks, which are usually redundant. + # Checks for non-nil checks, which are usually redundant. # # With `IncludeSemanticChanges` set to `false` by default, this cop # does not report offenses for `!x.nil?` and does no changes that might # change behavior. # Also `IncludeSemanticChanges` set to `false` with `EnforcedStyle: comparison` of