Quinn Sinclair
eee4db928f
Replace elided variable in let_unit
with ()
when used
...
Situation: `let_unit` lints when an expression binds a unit (`()`)
to a variable. In some cases this binding may be passed down to
another function. Currently, the lint removes the binding without
considering usage.
Change: All usages of the elided variable are now replaced with `()`.
fixes : #12594
2024-04-01 13:40:36 +02:00
..
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-14 09:32:05 +08:00
2024-03-13 19:31:01 +01:00
2024-03-24 00:47:59 +01:00
2024-03-23 12:13:39 +08:00
2024-03-20 14:07:53 -04:00
2024-03-20 14:07:53 -04:00
2024-03-20 14:07:53 -04:00
2024-03-18 16:25:36 +00:00
2024-03-13 20:56:53 +01:00
2024-03-13 20:56:53 +01:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-12 10:16:27 -05:00
2024-03-12 10:16:27 -05:00
2024-03-12 10:16:27 -05:00
2024-03-12 10:16:27 -05:00
2024-03-12 10:16:27 -05:00
2024-03-12 10:16:27 -05:00
2024-03-20 13:20:51 +00:00
2024-03-20 13:20:51 +00:00
2024-03-20 13:20:51 +00:00
2024-03-19 00:13:18 +01:00
2024-03-19 00:13:18 +01:00
2024-03-26 14:28:32 +01:00
2024-03-26 14:28:32 +01:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-12 09:19:35 +08:00
2024-03-12 10:40:40 +08:00
2024-03-18 16:25:36 +00:00
2024-03-16 14:15:45 +01:00
2024-03-16 14:15:45 +01:00
2024-03-16 14:15:45 +01:00
2024-03-11 22:51:03 +00:00
2024-03-11 22:51:03 +00:00
2024-03-25 17:48:05 +00:00
2024-03-25 17:48:05 +00:00
2024-04-01 13:40:36 +02:00
2024-04-01 13:40:36 +02:00
2024-04-01 13:40:36 +02:00
2024-03-23 01:32:25 +01:00
2024-03-23 01:32:25 +01:00
2024-03-23 01:32:25 +01:00
2024-03-23 01:32:25 +01:00
2024-03-23 01:32:25 +01:00
2024-03-09 18:58:40 -06:00
2024-03-09 18:58:40 -06:00
2024-03-09 18:58:40 -06:00
2024-03-27 16:28:15 +08:00
2024-03-27 16:28:15 +08:00
2024-03-22 15:42:55 +01:00
2024-03-22 10:02:09 +01:00
2024-03-22 10:02:09 +01:00
2024-03-14 12:40:33 +09:00
2024-03-24 00:50:28 +01:00
2024-03-24 00:50:28 +01:00
2024-03-24 00:50:28 +01:00
2024-03-23 12:13:39 +08:00
2024-03-23 12:13:39 +08:00
2024-03-17 07:51:49 +00:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-11 01:08:37 +08:00
2024-03-11 01:08:37 +08:00
2024-03-11 01:08:37 +08:00
2024-03-11 01:08:37 +08:00
2024-03-11 01:08:37 +08:00
2024-03-11 01:08:37 +08:00
2024-03-25 02:17:56 +09:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-13 17:22:54 +01:00
2024-03-13 17:22:54 +01:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-14 23:12:47 +01:00
2024-03-14 23:12:47 +01:00
2024-03-14 23:12:47 +01:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-24 00:47:59 +01:00
2024-03-23 09:59:14 +01:00
2024-03-23 09:59:14 +01:00
2024-03-23 09:59:14 +01:00