Module map_unit_fn
rustc_
lint
1.92.0-nightly
(839222065 2025-10-05)
Module map_
unit_
fn
Module Items
Structs
Statics
Functions
In crate rustc_
lint
rustc_lint
Module
map_
unit_
fn
Copy item path
Source
Structs
§
MapUnit
Fn
Statics
§
MAP_
UNIT_
FN
The
map_unit_fn
lint checks for
Iterator::map
receive a callable that returns
()
.
Functions
§
is_
impl_
slice
🔒