Skip to content

Commit

Permalink
Rollup merge of #81840 - ibraheemdev:patch-1, r=dtolnay
Browse files Browse the repository at this point in the history
fix formatting of std::iter::Map
  • Loading branch information
m-ou-se authored Feb 8, 2021
2 parents b9045fa + 1dac9a1 commit 98aec15
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 98aec15

Please sign in to comment.