diff --git a/library/core/src/iter/adapters/map.rs b/library/core/src/iter/adapters/map.rs index 12673806ec40d..f238baf743c55 100644 --- a/library/core/src/iter/adapters/map.rs +++ b/library/core/src/iter/adapters/map.rs @@ -60,6 +60,7 @@ pub struct Map { iter: I, f: F, } + impl Map { pub(in crate::iter) fn new(iter: I, f: F) -> Map { Map { iter, f }