rustc_lint
1.79.0-nightly
(244da22fa 2024-04-23)
Module map_unit_fn
Structs
Statics
Functions
In crate rustc_lint
?
Settings
Module
rustc_lint
::
map_unit_fn
Copy item path
source
·
[
−
]
Structs
§
MapUnitFn
Statics
§
MAP_UNIT_FN
The
map_unit_fn
lint checks for
Iterator::map
receive a callable that returns
()
.
Functions
§
is_diagnostic_name
🔒
is_impl_slice
🔒
is_unit_type
🔒