Commit 7c16331 1 parent 0cb79cf commit 7c16331 Copy full SHA for 7c16331
File tree 2 files changed +4
-6
lines changed
2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 50
50
#![ forbid( unused_crate_dependencies, missing_docs) ]
51
51
#![ no_std]
52
52
53
- #[ cfg( feature = "std" ) ]
54
- extern crate std;
55
-
56
53
extern crate alloc;
57
54
58
55
#[ doc( no_inline) ]
Original file line number Diff line number Diff line change @@ -551,7 +551,7 @@ pub mod errors {
551
551
#[ error( "mismatched error type" ) ]
552
552
MismatchedErrorType ,
553
553
#[ error( "take round result" ) ]
554
- TakeRoundResult ( #[ cfg_attr ( feature = "std" , source) ] TakeOutputError ) ,
554
+ TakeRoundResult ( #[ source] TakeOutputError ) ,
555
555
}
556
556
557
557
impl < ProcessErr , IoErr > CompleteRoundError < ProcessErr , IoErr > {
@@ -625,8 +625,9 @@ mod tests {
625
625
626
626
#[ tokio:: test]
627
627
async fn complete_round_that_expects_no_messages ( ) {
628
- let incomings =
629
- futures:: stream:: pending :: < Result < crate :: Incoming < FakeProtocolMsg > , std:: io:: Error > > ( ) ;
628
+ let incomings = futures:: stream:: pending :: <
629
+ Result < crate :: Incoming < FakeProtocolMsg > , core:: convert:: Infallible > ,
630
+ > ( ) ;
630
631
631
632
let mut rounds = super :: RoundsRouter :: builder ( ) ;
632
633
let round1 = rounds. add_round ( Store ) ;
You can’t perform that action at this time.
0 commit comments