From c8c549122a5ad5c39bdf7a332414031079cf172f Mon Sep 17 00:00:00 2001 From: Itay Grudev Date: Mon, 27 Sep 2021 12:44:01 +0300 Subject: [PATCH] Corrected Layout/SpaceInsideParens compact style documentation --- lib/rubocop/cop/layout/space_inside_parens.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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