make tidy happy

This commit is contained in:
The8472 2019-11-23 19:34:26 +01:00
parent 21a17d105c
commit 70293c658f

View File

@ -1166,7 +1166,8 @@ unsafe impl<S: Iterator, P, I: Iterator> SourceIter for Filter<I, P> where
}
#[unstable(issue = "0", feature = "inplace_iteration")]
unsafe impl<I: InPlaceIterable, P> InPlaceIterable for Filter<I, P> where P: FnMut(&I::Item) -> bool {}
unsafe impl<I: InPlaceIterable, P> InPlaceIterable for Filter<I, P>
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<S: Iterator, B, I: Iterator, F> SourceIter for FilterMap<I, F> where
}
#[unstable(issue = "0", feature = "inplace_iteration")]
unsafe impl<B, I: InPlaceIterable, F> InPlaceIterable for FilterMap<I, F> where F: FnMut(I::Item) -> Option<B> {}
unsafe impl<B, I: InPlaceIterable, F> InPlaceIterable for FilterMap<I, F>
where F: FnMut(I::Item) -> Option<B> {}
/// An iterator that yields the current count and the element during iteration.
@ -1957,7 +1959,8 @@ unsafe impl<S: Iterator, P, I: Iterator> SourceIter for SkipWhile<I, P> where
}
#[unstable(issue = "0", feature = "inplace_iteration")]
unsafe impl<I: InPlaceIterable, F> InPlaceIterable for SkipWhile<I, F> where F: FnMut(&I::Item) -> bool {}
unsafe impl<I: InPlaceIterable, F> InPlaceIterable for SkipWhile<I, F>
where F: FnMut(&I::Item) -> bool {}
/// An iterator that only accepts elements while `predicate` returns `true`.
///
@ -2164,7 +2167,8 @@ unsafe impl<S: Iterator, P, I: Iterator> SourceIter for TakeWhile<I, P> where
}
#[unstable(issue = "0", feature = "inplace_iteration")]
unsafe impl<I: InPlaceIterable, F> InPlaceIterable for TakeWhile<I, F> where F: FnMut(&I::Item) -> bool {}
unsafe impl<I: InPlaceIterable, F> InPlaceIterable for TakeWhile<I, F>
where F: FnMut(&I::Item) -> bool {}
/// An iterator that skips over `n` elements of `iter`.