diff options
| author | blyxyas <blyxyas@gmail.com> | 2025-05-28 01:23:27 +0200 |
|---|---|---|
| committer | blyxyas <blyxyas@gmail.com> | 2025-05-28 18:00:16 +0200 |
| commit | 7e590de4359cf74d31b017d6e6c6178f8acd3dd4 (patch) | |
| tree | fa04e5c95727351ad40993f471f2b1e6d6925958 /tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 32a3744efc15f5bb3024cefbb2641fe238f319f2 (diff) | |
| download | rust-7e590de4359cf74d31b017d6e6c6178f8acd3dd4.tar.gz rust-7e590de4359cf74d31b017d6e6c6178f8acd3dd4.zip | |
Optimize `unit_return_expecting_ord`
This lint was previously written very clumsily, not shortcircuiting and doing a lot of unnecessary work. Now it makes sure to do the cheaper functions earlier and in general, just be smarter. (I specifically focused on minimizing binder instantiation) Also, avoid allocating unnecessarily
Diffstat (limited to 'tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
