bors
95c45be1ed
Auto merge of #12603 - m-rph:12594, r=Manishearth
...
Elide unit variables linted by `let_unit` and use `()` directly instead
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.
fixes : #12594
changelog: Suggestion Fix [`let_unit`]. Clippy will remove unit bindings and replace all their instances in the body with `()`.
2024-04-01 21:14:32 +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-24 00:47:59 +01:00
2024-03-23 12:13:39 +08: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-31 16:46:44 +00:00
2024-03-31 16:46:44 +00:00
2024-03-31 16:46:44 +00:00
2023-08-11 14:02:28 +00:00
2023-08-11 14:02:35 +00: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-02-17 12:34:54 +00:00
2024-03-25 23:40:30 +01:00
2024-03-25 23:40:30 +01:00
2024-03-25 23:40:30 +01:00
2024-03-28 11:00:42 -07:00
2024-03-28 11:00:42 -07:00
2024-03-24 10:16:45 -06:00
2024-03-24 10:16:45 -06:00
2024-03-24 10:16:45 -06:00
2024-03-24 10:16:45 -06:00
2024-03-24 10:16:45 -06:00
2024-04-02 01:27:17 +08:00
2024-04-02 01:27:17 +08:00
2024-04-02 01:27:17 +08: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-23 21:28:58 -06:00
2024-03-23 21:28:58 -06:00
2024-03-23 21:28:58 -06:00
2024-03-30 09:18:53 +08:00
2024-03-30 09:18:53 +08:00
2024-03-22 15:42:55 +01:00
2023-08-11 14:02:28 +00:00
2024-02-17 12:34:54 +00: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-02-17 12:34:54 +00:00
2023-08-22 17:18:11 +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-27 08:36:08 +08:00
2024-03-27 08:36:08 +08:00
2024-03-27 08:36:08 +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-30 20:54:16 +01:00
2024-03-30 20:54:16 +01:00
2024-03-30 20:54:16 +01:00
2024-03-30 20:54:16 +01:00
2024-03-30 20:54:16 +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-23 09:59:14 +01:00
2024-03-23 09:59:14 +01:00
2024-03-23 09:59:14 +01:00