8080}
8181
8282type Error < P , E > = CsvError < E , <P as Partition >:: Error , <<P as Partition >:: Page as Page >:: Error > ;
83- #[ cfg( not( nightly) ) ]
83+ #[ cfg( not( all ( nightly, not ( doc ) ) ) ) ]
8484type Output < P , Row , E > = std:: pin:: Pin < Box < dyn Stream < Item = Result < Row , Error < P , E > > > > > ;
85- #[ cfg( nightly) ]
85+ #[ cfg( all ( nightly, not ( doc ) ) ) ]
8686type Output < P : Partition , Row , E > = impl Stream < Item = Result < Row , Error < P , E > > > ;
8787
8888FnMutNamed ! {
@@ -128,7 +128,7 @@ FnMutNamed! {
128128 . map( ResultExpandIter :: new)
129129 . flatten_stream( )
130130 . map( |row: Result <Result <Row , Error <P , E >>, Error <P , E >>| Ok ( row??) ) ;
131- #[ cfg( not( nightly) ) ]
131+ #[ cfg( not( all ( nightly, not ( doc ) ) ) ) ]
132132 let ret = ret. boxed_local( ) ;
133133 ret
134134 }
@@ -148,13 +148,13 @@ where
148148 > ;
149149
150150 type ParStream = DistParStream < Self :: DistStream > ;
151- #[ cfg( not( nightly) ) ]
151+ #[ cfg( not( all ( nightly, not ( doc ) ) ) ) ]
152152 #[ allow( clippy:: type_complexity) ]
153153 type DistStream = amadeus_core:: par_stream:: FlatMap <
154154 amadeus_core:: into_par_stream:: IterDistStream < std:: vec:: IntoIter < F :: Partition > > ,
155155 Closure < F :: Partition , Row , F :: Error > ,
156156 > ;
157- #[ cfg( nightly) ]
157+ #[ cfg( all ( nightly, not ( doc ) ) ) ]
158158 type DistStream = impl DistributedStream < Item = Result < Self :: Item , Self :: Error > > ;
159159
160160 fn par_stream ( self ) -> Self :: ParStream {
0 commit comments