From 70293c658f326ff5efb9a2fcf049f8c9e7ee9916 Mon Sep 17 00:00:00 2001 From: The8472 Date: Sat, 23 Nov 2019 19:34:26 +0100 Subject: [PATCH] make tidy happy --- library/core/src/iter/adapters/mod.rs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/library/core/src/iter/adapters/mod.rs b/library/core/src/iter/adapters/mod.rs index a8414bf9137..0ad279c5533 100644 --- a/library/core/src/iter/adapters/mod.rs +++ b/library/core/src/iter/adapters/mod.rs @@ -1166,7 +1166,8 @@ unsafe impl SourceIter for Filter where } #[unstable(issue = "0", feature = "inplace_iteration")] -unsafe impl InPlaceIterable for Filter where P: FnMut(&I::Item) -> bool {} +unsafe impl InPlaceIterable for Filter + where P: FnMut(&I::Item) -> bool {} /// An iterator that uses `f` to both filter and map elements from `iter`. /// @@ -1308,7 +1309,8 @@ unsafe impl SourceIter for FilterMap where } #[unstable(issue = "0", feature = "inplace_iteration")] -unsafe impl InPlaceIterable for FilterMap where F: FnMut(I::Item) -> Option {} +unsafe impl InPlaceIterable for FilterMap + where F: FnMut(I::Item) -> Option {} /// An iterator that yields the current count and the element during iteration. @@ -1957,7 +1959,8 @@ unsafe impl SourceIter for SkipWhile where } #[unstable(issue = "0", feature = "inplace_iteration")] -unsafe impl InPlaceIterable for SkipWhile where F: FnMut(&I::Item) -> bool {} +unsafe impl InPlaceIterable for SkipWhile + where F: FnMut(&I::Item) -> bool {} /// An iterator that only accepts elements while `predicate` returns `true`. /// @@ -2164,7 +2167,8 @@ unsafe impl SourceIter for TakeWhile where } #[unstable(issue = "0", feature = "inplace_iteration")] -unsafe impl InPlaceIterable for TakeWhile where F: FnMut(&I::Item) -> bool {} +unsafe impl InPlaceIterable for TakeWhile + where F: FnMut(&I::Item) -> bool {} /// An iterator that skips over `n` elements of `iter`.