Repository navigation
Commit ff3040b
refactor: remove redundant assignment
The code adds a name that does not improve the reader's understanding.
That is usually a poor tradeoff: it adds a statement, a local variable,
and a name that the reader must mentally associate with statement.
Do not introduce a local variable solely to satisfy a line-length limit.1 parent 930764b commit ff3040b
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
| 75 | + | |
77 | 76 | | |
78 | 77 | | |
79 | 78 | | |
| |||
96 | 95 | | |
97 | 96 | | |
98 | 97 | | |
99 | | - | |
100 | | - | |
| 98 | + | |
101 | 99 | | |
102 | 100 | | |
103 | 101 | | |
| |||
0 commit comments