rspec/rules/S2183/exceptions.adoc
Alban Auzeill 2c306d110e Fix code block ambiguity with old header style
Ensure blank line before list and clean the one leading space
2020-06-30 17:16:12 +02:00

11 lines
310 B
Plaintext

== Exceptions
This rule doesn't raise an issue when the shift by zero is obviously for cosmetic reasons:
* When the value shifted is a literal.
* When there is a similar shift at the same position on line before or after. E.g.:
----
bytes[loc+0] = (byte)(value >> 8);
bytes[loc+1] = (byte)(value >> 0);
----