about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2025-04-09 15:23:17 +0000
committerGitHub <noreply@github.com>2025-04-09 15:23:17 +0000
commit630ac0ca723029d548324b00c1494d0d350cab35 (patch)
tree364d023784e3a1d25266db63fa39970219dabe62 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent1cfc95c573b92c85f8659d0111e3b44d8900876b (diff)
parent0fe33171e450a4d0f1b477ce37f691604456aac0 (diff)
downloadrust-630ac0ca723029d548324b00c1494d0d350cab35.tar.gz
rust-630ac0ca723029d548324b00c1494d0d350cab35.zip
Accept `self.cmp(other).into()` as canonical `PartialOrd` impl (#14573)
`non_canonical_partial_ord_impl` will now recognize two forms of
canonical implementations: `Some(self.cmp(other))` and
`self.cmp(other).into()`.

changelog: [`non_canonical_partial_ord_impl`]: recognize
`self.cmp(other).into()` as a canonical implementation of
`PartialOrd::partial_cmp()`.

Fixes rust-lang/rust-clippy#13640
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions