Commit 426331b
committed
remove unused parameters from LintStore.find_lint
Long ago, in the before-time, the find_lint method was created with the
unused_variables ("unused_variable" in the singular, as it was called at
the time) attribute in anticipation of using the session and span in the
handling of renamed lints (31b7d64), and indeed, the session and span
came to be used in this method, while the unused_variables attribute
remained (1ad1e2e). In modern times, the session and span are again no
longer used (ca81d3d); it seems we can safely prune them from the
method signature, for justice, and mercy.1 parent 229d0d3 commit 426331b
1 file changed
+5
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
| 294 | + | |
298 | 295 | | |
299 | 296 | | |
300 | 297 | | |
301 | 298 | | |
302 | 299 | | |
303 | | - | |
| 300 | + | |
304 | 301 | | |
305 | 302 | | |
306 | 303 | | |
| |||
313 | 310 | | |
314 | 311 | | |
315 | 312 | | |
316 | | - | |
| 313 | + | |
317 | 314 | | |
318 | 315 | | |
319 | 316 | | |
| |||
731 | 728 | | |
732 | 729 | | |
733 | 730 | | |
734 | | - | |
| 731 | + | |
735 | 732 | | |
736 | 733 | | |
737 | 734 | | |
| |||
1420 | 1417 | | |
1421 | 1418 | | |
1422 | 1419 | | |
1423 | | - | |
| 1420 | + | |
1424 | 1421 | | |
1425 | 1422 | | |
1426 | 1423 | | |
| |||
0 commit comments