please tidy
This commit is contained in:
parent
9aeea00222
commit
7492f76f77
@ -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
|
||||
|
@ -485,7 +485,6 @@ where
|
||||
unsafe impl<I> TrustedRandomAccess for Cloned<I>
|
||||
where
|
||||
I: TrustedRandomAccess,
|
||||
|
||||
{
|
||||
#[inline]
|
||||
fn may_have_side_effect() -> bool {
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user