mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 07:00:55 +00:00
e230f19e18
[`map_identity`]: allow closure with type annotations Fixes #9122 `.map(|a: u32| a)` can help type inference, so we should probably allow this and not warn about "unnecessary map of the identity function" changelog: [`map_identity`]: allow closure with type annotations |
||
---|---|---|
.. | ||
test_utils | ||
ui | ||
ui-cargo | ||
ui-internal | ||
ui-toml | ||
workspace_test | ||
check-fmt.rs | ||
clippy.toml | ||
compile-test.rs | ||
dogfood.rs | ||
headers.rs | ||
integration.rs | ||
lint_message_convention.rs | ||
missing-test-files.rs | ||
versioncheck.rs | ||
workspace.rs |