about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2025-03-25 17:34:00 +0000
committerGitHub <noreply@github.com>2025-03-25 17:34:00 +0000
commit1893e1e5e794b04fccf77e1d2b810f99cd9db4a0 (patch)
tree06569ccf08f0b419252e2fd5b5942044d489dd31 /tests/codegen/src-hash-algorithm
parenta001ae3be8c1ee8cbb6b5a3452937cdcc3c52a0c (diff)
parent94233fb0ee1a683d076d933aa2c8f77c8cd9f66c (diff)
downloadrust-1893e1e5e794b04fccf77e1d2b810f99cd9db4a0.tar.gz
rust-1893e1e5e794b04fccf77e1d2b810f99cd9db4a0.zip
Unify `manual_unwrap_or` and `manual_unwrap_or_default` code (#14332)
Both lints share a lot of characteristics but were implemented in
unrelated ways. This unifies them, saving around 100 SLOC in the
process, and making one more test trigger the lint. Also, this removes
useless blocks in suggestions.

Close #12956

changelog: none
Diffstat (limited to 'tests/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions