@@ -930,7 +930,10 @@ pub mod continuous {
930930 {
931931 type Adc = <<P as Peripheral >:: P as ADCPin >:: Adc ;
932932
933- type Iterator < ' a > = core:: iter:: Once < ( adc_channel_t , adc_atten_t ) > where Self : ' a ;
933+ type Iterator < ' a >
934+ = core:: iter:: Once < ( adc_channel_t , adc_atten_t ) >
935+ where
936+ Self : ' a ;
934937
935938 fn iter ( & self ) -> Self :: Iterator < ' _ > {
936939 core:: iter:: once ( ( P :: P :: CHANNEL , attenuation:: NONE ) )
@@ -943,10 +946,13 @@ pub mod continuous {
943946 {
944947 type Adc = C :: Adc ;
945948
946- type Iterator < ' a > = core:: iter:: Map <
949+ type Iterator < ' a >
950+ = core:: iter:: Map <
947951 C :: Iterator < ' a > ,
948952 fn ( ( adc_channel_t , adc_atten_t ) ) -> ( adc_channel_t , adc_atten_t ) ,
949- > where Self : ' a ;
953+ >
954+ where
955+ Self : ' a ;
950956
951957 fn iter ( & self ) -> Self :: Iterator < ' _ > {
952958 self . 0 . iter ( ) . map ( Attenuated :: < A , C > :: atten)
@@ -961,7 +967,14 @@ pub mod continuous {
961967 {
962968 type Adc = C :: Adc ;
963969
964- type Iterator < ' a > = core:: iter:: FlatMap < core:: slice:: Iter < ' a , C > , <C as AdcChannels >:: Iterator < ' a > , fn ( & ' a C ) -> C :: Iterator < ' a > > where Self : ' a ;
970+ type Iterator < ' a >
971+ = core:: iter:: FlatMap <
972+ core:: slice:: Iter < ' a , C > ,
973+ <C as AdcChannels >:: Iterator < ' a > ,
974+ fn ( & ' a C ) -> C :: Iterator < ' a > ,
975+ >
976+ where
977+ Self : ' a ;
965978
966979 fn iter ( & self ) -> Self :: Iterator < ' _ > {
967980 self . 0 . iter ( ) . flat_map ( AdcChannels :: iter)
@@ -989,7 +1002,10 @@ pub mod continuous {
9891002 {
9901003 type Adc = A ;
9911004
992- type Iterator < ' a > = core:: iter:: Empty < ( adc_channel_t , adc_atten_t ) > where Self : ' a ;
1005+ type Iterator < ' a >
1006+ = core:: iter:: Empty < ( adc_channel_t , adc_atten_t ) >
1007+ where
1008+ Self : ' a ;
9931009
9941010 fn iter ( & self ) -> Self :: Iterator < ' _ > {
9951011 core:: iter:: empty ( )
@@ -1022,7 +1038,10 @@ pub mod continuous {
10221038 {
10231039 type Adc = F :: Adc ;
10241040
1025- type Iterator < ' a > = core:: iter:: Chain < F :: Iterator < ' a > , S :: Iterator < ' a > > where Self : ' a ;
1041+ type Iterator < ' a >
1042+ = core:: iter:: Chain < F :: Iterator < ' a > , S :: Iterator < ' a > >
1043+ where
1044+ Self : ' a ;
10261045
10271046 fn iter ( & self ) -> Self :: Iterator < ' _ > {
10281047 self . first . iter ( ) . chain ( self . second . iter ( ) )
0 commit comments