Skip to content

Commit 7492f76

Browse files
committed
please tidy
1 parent 9aeea00 commit 7492f76

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

library/core/src/iter/adapters/fuse.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
use super::InPlaceIterable;
22
use crate::intrinsics;
33
use crate::iter::adapters::zip::try_get_unchecked;
4+
use crate::iter::adapters::SourceIter;
45
use crate::iter::TrustedRandomAccess;
56
use crate::iter::{DoubleEndedIterator, ExactSizeIterator, FusedIterator, Iterator};
6-
use crate::iter::adapters::SourceIter;
77
use crate::ops::Try;
88

99
/// An iterator that yields `None` forever after the underlying iterator

library/core/src/iter/adapters/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,6 @@ where
485485
unsafe impl<I> TrustedRandomAccess for Cloned<I>
486486
where
487487
I: TrustedRandomAccess,
488-
489488
{
490489
#[inline]
491490
fn may_have_side_effect() -> bool {

library/core/src/iter/adapters/zip.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -334,10 +334,10 @@ where
334334
// it would require negative trait bounds to be able to try both
335335
#[unstable(issue = "none", feature = "inplace_iteration")]
336336
unsafe impl<S, A, B> SourceIter for Zip<A, B>
337-
where
338-
A: SourceIter<Source = S>,
339-
B: Iterator,
340-
S: Iterator,
337+
where
338+
A: SourceIter<Source = S>,
339+
B: Iterator,
340+
S: Iterator,
341341
{
342342
type Source = S;
343343

0 commit comments

Comments
 (0)