about summary refs log tree commit diff
path: root/tests/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-08-17 00:30:41 +0000
committerbors <bors@rust-lang.org>2022-08-17 00:30:41 +0000
commit18c681893ea11663f5ac2c1fca4af23b82ef344c (patch)
tree995320e645f5cd130489984915acbb8560dd5181 /tests/debuginfo/enum-thinlto.rs
parenta3317662f2d2ab9ebc701708d73dfa59602c8c68 (diff)
parentbfeaae89304443894c5f64a73188015f938fc97d (diff)
downloadrust-18c681893ea11663f5ac2c1fca4af23b82ef344c.tar.gz
rust-18c681893ea11663f5ac2c1fca4af23b82ef344c.zip
Auto merge of #9341 - bmc-msft:suggest-map_or-instead-of-unwrap_or, r=giraffate
suggest map_or in case_sensitive_file_extension_comparisons

changelog: [`case_sensitive_file_extension_comparisons `]: updated suggestion in the example to use `map_or`

Currently, case_sensitive_file_extension_comparisons suggests using `map(..).unwrap_or(..)` which trips up the `map_unwrap_or` lint.  This updates the suggestion to use `map_or`.
Diffstat (limited to 'tests/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions