bors
0929a24d72
Auto merge of #6828 - mgacek8:issue_6758_enhance_wrong_self_convention, r=flip1995
...
wrong_self_convention: fix lint in case of `to_*_mut` method
fixes #6758
changelog: wrong_self_convention: fix lint in case of `to_*_mut` method. When a method starts with `to_` and ends with `_mut`, clippy expects a `&mut self` parameter, otherwise `&self`.
Any feedback is welcome. I was also thinking if shouldn't we treat `to_` the same way as `as_`. Namely to accept `self` taken: `&self` or `&mut self`.
2021-03-15 22:36:57 +00:00
..
2021-03-02 11:31:43 +00:00
2021-03-01 16:17:33 -06:00
2021-02-26 19:13:47 -06:00
2021-03-08 23:03:45 -06:00
2021-02-28 02:22:05 +01:00
2021-02-28 02:22:05 +01:00
2021-02-28 02:22:05 +01:00
2021-03-01 16:17:33 -06:00
2021-03-01 16:17:33 -06:00
2021-03-01 16:17:33 -06:00
2021-02-28 02:22:05 +01:00
2021-02-28 02:22:05 +01:00
2021-03-01 16:17:33 -06:00
2021-03-01 16:17:33 -06:00
2021-03-11 23:54:50 -08:00
2021-03-01 16:17:33 -06:00
2021-03-01 16:17:33 -06:00
2021-02-28 02:22:05 +01:00
2021-03-01 16:17:33 -06:00
2021-03-01 16:17:33 -06:00
2021-02-25 09:30:33 +11:00
2021-02-25 09:30:33 +11:00
2021-02-28 02:22:05 +01:00
2021-02-28 02:22:05 +01:00
2021-02-20 19:48:04 +01:00
2021-02-20 19:48:04 +01:00
2021-03-08 13:15:13 -06:00
2021-03-08 13:15:13 -06:00
2021-03-08 13:16:53 -06:00
2021-02-28 02:22:05 +01:00
2021-03-13 08:40:01 -05:00
2021-03-13 08:40:01 -05:00
2021-03-13 08:40:01 -05:00
2021-02-28 02:22:05 +01:00
2021-02-28 02:22:05 +01:00
2021-02-28 02:22:05 +01:00
2021-03-01 16:17:33 -06:00
2021-03-01 16:17:33 -06:00
2021-03-01 16:17:33 -06:00
2021-03-01 16:17:33 -06:00
2021-03-01 16:17:33 -06:00
2021-03-01 16:17:33 -06:00
2021-03-01 16:17:33 -06:00
2021-02-28 02:22:05 +01:00
2021-02-28 02:22:05 +01:00
2021-03-01 16:17:33 -06:00
2021-03-01 16:17:33 -06:00
2021-03-01 16:17:33 -06:00
2021-03-12 20:46:46 +09:00
2021-03-12 20:46:46 +09:00
2021-02-26 19:13:47 -06:00
2021-02-26 19:13:47 -06:00
2021-03-01 16:17:33 -06:00
2021-03-01 16:17:33 -06:00
2021-03-01 16:17:33 -06:00
2021-02-21 05:05:11 +09:00
2021-02-21 05:05:11 +09:00
2021-03-12 20:41:43 +01:00
2021-02-28 02:22:05 +01:00
2021-02-28 02:22:05 +01:00
2021-02-21 00:11:17 +01:00
2021-02-21 00:11:17 +01:00
2021-02-28 02:22:05 +01:00
2021-02-27 14:16:02 +09:00
2021-02-27 14:16:02 +09:00
2021-02-27 14:16:02 +09:00
2021-02-28 02:22:05 +01:00
2021-03-07 09:40:18 -05:00
2021-03-07 09:40:18 -05:00
2021-03-01 17:25:23 -05:00
2021-03-01 17:25:23 -05:00
2021-03-01 17:25:23 -05:00
2021-03-04 11:06:24 -05:00
2021-03-04 11:06:24 -05:00
2021-03-12 12:57:54 -08:00
2021-03-12 12:57:54 -08:00
2021-03-12 12:57:54 -08:00
2021-02-28 02:22:05 +01:00
2021-02-28 02:22:05 +01:00
2021-02-28 02:22:05 +01:00
2021-02-28 21:10:44 +08:00
2021-02-28 21:10:44 +08:00
2021-02-28 02:22:05 +01:00
2021-02-27 14:16:01 +09:00
2021-02-27 14:16:01 +09:00
2021-03-01 16:17:33 -06:00
2021-03-01 16:17:33 -06:00
2021-02-28 02:22:05 +01:00
2021-02-28 02:22:05 +01:00
2021-02-28 02:22:05 +01:00
2021-02-25 14:23:38 +01:00
2021-02-25 14:23:38 +01:00
2021-02-25 14:23:38 +01:00
2021-02-28 02:22:05 +01:00
2021-03-01 16:17:33 -06:00
2021-03-01 16:17:33 -06:00
2021-03-01 16:17:33 -06:00
2021-03-14 16:31:55 -05:00
2021-03-14 16:31:55 -05:00
2021-02-28 02:22:05 +01:00
2021-02-28 02:22:05 +01:00
2021-02-28 02:22:05 +01:00
2021-02-25 22:03:11 +01:00
2021-02-25 22:03:11 +01:00
2021-03-14 08:09:08 +08:00
2021-02-28 02:22:05 +01:00
2021-02-28 02:22:05 +01:00
2021-03-01 16:17:33 -06:00
2021-03-01 16:17:33 -06:00
2021-03-01 16:17:33 -06:00
2021-02-24 23:50:55 +01:00
2021-03-03 17:32:49 +01:00
2021-03-03 17:32:49 +01:00
2021-03-01 16:17:33 -06:00
2021-02-28 02:22:05 +01:00
2021-02-28 02:22:05 +01:00
2021-02-28 02:22:05 +01:00
2021-03-11 23:54:50 -08:00
2021-03-11 23:54:50 -08:00
2021-03-11 23:54:50 -08:00
2021-02-28 02:22:05 +01:00