about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-08-02 10:33:19 +0000
committerbors <bors@rust-lang.org>2022-08-02 10:33:19 +0000
commit491483358d076a0bce7689f113898f1ba9f9bf68 (patch)
treedf87093454b79e8bcaf85e651fb4f3f4ec1d1465 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
parent367d09fc4ec16bd6097f1d9a24a7d6a590bf9a89 (diff)
parentac7a91ea161d2fec96f8eda01c3925e161bf9f38 (diff)
downloadrust-491483358d076a0bce7689f113898f1ba9f9bf68.tar.gz
rust-491483358d076a0bce7689f113898f1ba9f9bf68.zip
Auto merge of #9279 - tabokie:weight-loss, r=flip1995
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`
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions