bors b9ca3195ab Auto merge of #9791 - smoelius:issues-9739-9782, r=Jarcho
Address issues 9739 and 9782

This PR fixes #9739 in the manner I suggested in https://github.com/rust-lang/rust-clippy/issues/9739#issuecomment-1296802376.

This PR also fixes the compilation failures in #9782 (but doesn't address `@e00E's` other objections).

Fixes #9739

r? `@Jarcho`

changelog: Fix two `needless_borrow` false positives, one involving borrows in `if`-`else`s, the other involving qualified function calls
2022-11-08 14:15:40 +00:00
..
2022-11-02 13:30:58 +00:00
2022-10-25 20:30:37 +02:00
2022-10-25 20:30:37 +02:00
2022-10-28 13:18:07 -04:00
2022-11-04 21:09:26 -07:00
2022-10-26 12:24:37 +08:00
2022-10-30 06:47:35 -04:00
2022-10-26 12:24:37 +08:00
2022-10-26 12:24:37 +08:00
2022-10-30 06:47:35 -04:00
2022-10-23 14:06:51 +00:00
2022-10-30 06:47:35 -04:00