Skip to content

Commit bb2913c

Browse files
committed
fix rule to support backward expression
1 parent df1f436 commit bb2913c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

docs/rules/gas-consumption/gas-increment-by-one.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ This rule accepts a string option for rule severity. Must be one of "error", "wa
2424
```
2525

2626
### Notes
27-
- This rule only works for expressions like this: [ j = j + 1 ] but will fail if the code is written like this: [ j = 1 + j ]
2827
- [source 1](https://coinsbench.com/comprehensive-guide-tips-and-tricks-for-gas-optimization-in-solidity-5380db734404) of the rule initiative (Incrementing/Decrementing By 1)
2928
- [source 2](https://www.rareskills.io/post/gas-optimization?postId=c9db474a-ff97-4fa3-a51d-fe13ccb8fe3b#viewer-8rekj) of the rule initiative
3029

0 commit comments

Comments
 (0)