diff --git a/lib/rubocop/cop/layout/space_inside_parens.rb b/lib/rubocop/cop/layout/space_inside_parens.rb index 5f02d517d55..bcde717e469 100644 --- a/lib/rubocop/cop/layout/space_inside_parens.rb +++ b/lib/rubocop/cop/layout/space_inside_parens.rb @@ -35,7 +35,7 @@ module Layout # # @example EnforcedStyle: compact # # The `compact` style enforces that parentheses have a space at the - # # beginning with the exception that successive right parentheses are allowed. + # # beginning with the exception that successive parentheses are allowed. # # Note: Empty parentheses should not have spaces. # # # bad