File tree 2 files changed +7
-7
lines changed
library/core/src/iter/adapters 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change
1
+ use super :: InPlaceIterable ;
1
2
use crate :: intrinsics;
2
3
use crate :: iter:: adapters:: zip:: try_get_unchecked;
3
4
use crate :: iter:: TrustedRandomAccess ;
4
5
use crate :: iter:: { DoubleEndedIterator , ExactSizeIterator , FusedIterator , Iterator } ;
5
- use crate :: ops:: Try ;
6
6
use crate :: iter:: adapters:: SourceIter ;
7
- use super :: InPlaceIterable ;
7
+ use crate :: ops :: Try ;
8
8
9
9
/// An iterator that yields `None` forever after the underlying iterator
10
10
/// yields `None` once.
@@ -522,8 +522,8 @@ where
522
522
523
523
#[ unstable( issue = "none" , feature = "inplace_iteration" ) ]
524
524
unsafe impl < S : Iterator , I : FusedIterator > SourceIter for Fuse < I >
525
- where
526
- I : SourceIter < Source = S > ,
525
+ where
526
+ I : SourceIter < Source = S > ,
527
527
{
528
528
type Source = S ;
529
529
Original file line number Diff line number Diff line change @@ -2095,9 +2095,9 @@ where
2095
2095
2096
2096
#[ unstable( issue = "none" , feature = "inplace_iteration" ) ]
2097
2097
unsafe impl < S : Iterator , P , I : Iterator > SourceIter for TakeWhile < I , P >
2098
- where
2099
- P : FnMut ( & I :: Item ) -> bool ,
2100
- I : SourceIter < Source = S > ,
2098
+ where
2099
+ P : FnMut ( & I :: Item ) -> bool ,
2100
+ I : SourceIter < Source = S > ,
2101
2101
{
2102
2102
type Source = S ;
2103
2103
You can’t perform that action at this time.
0 commit comments