please tidy

This commit is contained in:
The8472 2020-08-21 23:56:23 +02:00
parent 9aeea00222
commit 7492f76f77
3 changed files with 5 additions and 6 deletions

View File

@ -1,9 +1,9 @@
use super::InPlaceIterable;
use crate::intrinsics;
use crate::iter::adapters::zip::try_get_unchecked;
use crate::iter::adapters::SourceIter;
use crate::iter::TrustedRandomAccess;
use crate::iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator, Iterator};
use crate::iter::adapters::SourceIter;
use crate::ops::Try;
/// An iterator that yields `None` forever after the underlying iterator

View File

@ -485,7 +485,6 @@ where
unsafe impl<I> TrustedRandomAccess for Cloned<I>
where
I: TrustedRandomAccess,
{
#[inline]
fn may_have_side_effect() -> bool {

View File

@ -334,10 +334,10 @@ where
// it would require negative trait bounds to be able to try both
#[unstable(issue = "none", feature = "inplace_iteration")]
unsafe impl<S, A, B> SourceIter for Zip<A, B>
where
A: SourceIter<Source = S>,
B: Iterator,
S: Iterator,
where
A: SourceIter<Source = S>,
B: Iterator,
S: Iterator,
{
type Source = S;