about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorllogiq <bogusandre@gmail.com>2025-07-06 15:10:25 +0000
committerGitHub <noreply@github.com>2025-07-06 15:10:25 +0000
commit2713c509de774264a594e676eeae27ac9e57df16 (patch)
tree4ea431ff557f9516a3aaa241c76896c940505617 /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent8d688c6f6059e9bb736b01e011137b760d692fda (diff)
parent9b4231dcd9c691a07e1507c7824c6d339716c6ab (diff)
downloadrust-2713c509de774264a594e676eeae27ac9e57df16.tar.gz
rust-2713c509de774264a594e676eeae27ac9e57df16.zip
fix: redundant_closure_call lint for closures with block (#15144)
Fixes rust-lang/rust-clippy#9583

When a closure with no parameters is called immediately after being
defined, clippy can now suggest replacing the entire expression with
just the closure's body.

----

changelog: [`redundant_closure_call`]: add fixes for closures with block
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions