rspec/rules/S881/compliant.adoc

13 lines
163 B
Plaintext
Raw Normal View History

=== Compliant solution
2020-06-30 12:50:59 +02:00
The following sequence is clearer and therefore safer:
2022-02-04 17:28:24 +01:00
[source,text]
2020-06-30 12:50:59 +02:00
----
++u8b;
u8a = u8b + u8c;
u8c--;
foo = bar / 4;
bar++;
----