lib/rubocop/cop/layout/case_indentation.rb in rbhint-0.85.1.rc1 vs lib/rubocop/cop/layout/case_indentation.rb in rbhint-0.85.1.rc2
- old
+ new
@@ -1,13 +1,13 @@
# frozen_string_literal: true
module RuboCop
module Cop
module Layout
- # This cop checks how the ``when``s of a `case` expression
+ # This hint checks how the ``when``s of a `case` expression
# are indented in relation to its `case` or `end` keyword.
#
- # It will register a separate offense for each misaligned `when`.
+ # It will register a separate flag for each misaligned `when`.
#
# @example
# # If Layout/EndAlignment is set to keyword style (default)
# # *case* and *end* should always be aligned to same depth,
# # and therefore *when* should always be aligned to both -