Commit 0b3d492
committed
Move constant expressions to left-hand-side of conditional comparisons
These constant expressions are read-only; a single-character typo or other mistake leading to the equality operator becoming an assignment operator would therefore be caught at compile-time by applying this change1 parent af5f91f commit 0b3d492
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
265 | | - | |
| 265 | + | |
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
272 | | - | |
| 272 | + | |
273 | 273 | | |
274 | | - | |
| 274 | + | |
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
| |||
0 commit comments