about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorinfrandomness <infrandomness@gmail.com>2022-04-08 20:07:19 +0200
committerinfrandomness <infrandomness@gmail.com>2022-04-14 12:41:47 +0200
commit262b35ea2c4dd9a16c28bf40cb5c124f664ce96c (patch)
tree79bce483611d424de9a03b55855a97bc3ff7bde2 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent849668ad718ad90ed8a61147968fde2eef772479 (diff)
downloadrust-262b35ea2c4dd9a16c28bf40cb5c124f664ce96c.tar.gz
rust-262b35ea2c4dd9a16c28bf40cb5c124f664ce96c.zip
Introduce option_take_on_temporary lints
This lint checks if Option::take() is used on a temporary value (a value
that is not of type &mut Option and that is not a Place expression) to
suggest omitting take()
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions