]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #9279 - tabokie:weight-loss, r=flip1995
authorbors <bors@rust-lang.org>
Tue, 2 Aug 2022 10:33:19 +0000 (10:33 +0000)
committerbors <bors@rust-lang.org>
Tue, 2 Aug 2022 10:33:19 +0000 (10:33 +0000)
chore: a few small improvements to code quality

Some improvements:
- Simplify implementation of `is_unit_type`
- Use slice matching to destruct `Call` or `MethodCall` whenever possible

changelog: none

r? `@flip1995`


Trivial merge