Skip to content

Commit

Permalink
Fix typo in Style/DoubleNegation correcting nagation => negation.
Browse files Browse the repository at this point in the history
  • Loading branch information
knappe authored and mergify[bot] committed Feb 12, 2021
1 parent ea67a6b commit cc87fd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rubocop/cop/style/double_negation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ module Cop
module Style
# This cop checks for uses of double negation (`!!`) to convert something to a boolean value.
#
# When using `EnforcedStyle: allowed_in_returns`, allow double nagation in contexts
# that use boolean as a return value. When using `EnforcedStyle: forbidden`, double nagation
# When using `EnforcedStyle: allowed_in_returns`, allow double negation in contexts
# that use boolean as a return value. When using `EnforcedStyle: forbidden`, double negation
# should be forbidden always.
#
# @example
Expand Down

0 comments on commit cc87fd4

Please sign in to comment.