about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-12-26 15:41:40 +0000
committerbors <bors@rust-lang.org>2023-12-26 15:41:40 +0000
commit9dd2252b2c78013425816e6b288977bfafb1b659 (patch)
tree561ceedd44281b69c8060cbc2f3f142e0181c8d1 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent99c783843dbbdc0ff1af984666341544c962845a (diff)
parent85e1646afcf4010b8bb74b64762f247e73912884 (diff)
downloadrust-9dd2252b2c78013425816e6b288977bfafb1b659.tar.gz
rust-9dd2252b2c78013425816e6b288977bfafb1b659.zip
Auto merge of #12004 - PartiallyTyped:11843, r=xFrednet
New lints `iter_filter_is_some` and `iter_filter_is_ok`

Adds a pair of lints that check for cases of an iterator over `Result` and `Option` followed by `filter` without being followed by `map` as that is covered already by a different, specialized lint.

Fixes #11843

PS, I also made some minor documentations fixes in a case where a double tick (`) was included.

---

changelog: New Lint: [`iter_filter_is_some`]
[#12004](https://github.com/rust-lang/rust/pull/12004)
changelog: New Lint: [`iter_filter_is_ok`]
[#12004](https://github.com/rust-lang/rust/pull/12004)
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions