diff --git a/src/ameba/rule/lint/require_parentheses.cr b/src/ameba/rule/lint/require_parentheses.cr index db3e778cd..c6bcf3012 100644 --- a/src/ameba/rule/lint/require_parentheses.cr +++ b/src/ameba/rule/lint/require_parentheses.cr @@ -6,14 +6,16 @@ module Ameba::Rule::Lint # For example, this is considered invalid: # # ``` - # if foo.includes? "bar" || foo.includes? "batz" + # if foo.includes? "bar" || foo.includes? "baz" + # # ... # end # ``` # # And need to be written as: # # ``` - # if foo.includes?("bar") || foo.includes?("batz") + # if foo.includes?("bar") || foo.includes?("baz") + # # ... # end # ``` #