diff options
| author | Ibraheem Ahmed <ibrah1440@gmail.com> | 2021-02-06 15:47:12 -0500 |
|---|---|---|
| committer | ibraheemdev <ibrah1440@gmail.com> | 2021-02-07 21:16:25 -0500 |
| commit | 1dac9a1d78bb4948f4268c20868030ae1dab4656 (patch) | |
| tree | 26f0437c41f04ade67a90567aae186a421b530bc | |
| parent | 37d067f5d71331d909102d142ecc50f577e07ae4 (diff) | |
| download | rust-1dac9a1d78bb4948f4268c20868030ae1dab4656.tar.gz rust-1dac9a1d78bb4948f4268c20868030ae1dab4656.zip | |
fix formatting of std::iter::Map
| -rw-r--r-- | library/core/src/iter/adapters/map.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/core/src/iter/adapters/map.rs b/library/core/src/iter/adapters/map.rs index 12673806ec4..f238baf743c 100644 --- a/library/core/src/iter/adapters/map.rs +++ b/library/core/src/iter/adapters/map.rs @@ -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 } |
