diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2025-05-11 17:33:20 +0200 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2025-05-11 18:43:01 +0200 |
| commit | c040e9f6fc51f9198cab65f021cd80a14fae5f52 (patch) | |
| tree | 0e032a310b8f86533edbd3929373724ca04c75a7 /tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 7f6d507bba4ed88e996b84b642e661a9672440a4 (diff) | |
| download | rust-c040e9f6fc51f9198cab65f021cd80a14fae5f52.tar.gz rust-c040e9f6fc51f9198cab65f021cd80a14fae5f52.zip | |
`return_and_then`: only lint returning expressions
If an expression is not going to return from the current function of closure, it should not get linted. This also allows `return` expression to be linted, in addition to the final expression. Those require blockification and proper indentation.
Diffstat (limited to 'tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
