Skip to content

Commit

Permalink
fix formatting of std::iter::Map
Browse files Browse the repository at this point in the history
  • Loading branch information
ibraheemdev committed Feb 8, 2021
1 parent 37d067f commit 1dac9a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/core/src/iter/adapters/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ pub struct Map<I, F> {
iter: I,
f: F,
}

impl<I, F> Map<I, F> {
pub(in crate::iter) fn new(iter: I, f: F) -> Map<I, F> {
Map { iter, f }
Expand Down

0 comments on commit 1dac9a1

Please sign in to comment.