Open sambostock opened 7 months ago
This bug is with the documentation for, so I've opted not to use the template, as it doesn't really make sense.
In the documentation for Performance/RedundantSortBlock, the following snippet
Performance/RedundantSortBlock
Identifies places where sort { |a, b| a <=> b } can be replaced with sort.
sort { |a, b| a <=> b }
sort
is incorrectly rendered as a partial ligature
Identifies places where sort { |a, b| a <⇒ b } can be replaced with sort.
sort { |a, b| a <⇒ b }
-sort { |a, b| a <=> b } +sort { |a, b| a <⇒ b }
The documentation comment in the source code from which this is generated is correct.
# Identifies places where `sort { |a, b| a <=> b }` can be replaced with `sort`.
I have not checked for other occurrences, or if this affects cops outside rubocop-performance.
rubocop-performance
This bug is with the documentation for, so I've opted not to use the template, as it doesn't really make sense.
In the documentation for
Performance/RedundantSortBlock
, the following snippetis incorrectly rendered as a partial ligature
The documentation comment in the source code from which this is generated is correct.
I have not checked for other occurrences, or if this affects cops outside
rubocop-performance
.