File tree Expand file tree Collapse file tree 7 files changed +16
-15
lines changed
connectorx-python/src/pandas Expand file tree Collapse file tree 7 files changed +16
-15
lines changed Original file line number Diff line number Diff line change 26
26
- name : Install Rust
27
27
uses : actions-rs/toolchain@v1
28
28
with :
29
- toolchain : nightly-2021-11-18
29
+ toolchain : nightly-2022-04-17
30
30
components : rustfmt
31
31
default : true
32
32
Original file line number Diff line number Diff line change 69
69
- name : Install Rust
70
70
uses : actions-rs/toolchain@v1
71
71
with :
72
- toolchain : nightly-2021-11-18
72
+ toolchain : nightly-2022-04-17
73
73
components : rustfmt
74
74
default : true
75
75
@@ -194,7 +194,7 @@ jobs:
194
194
- name : Install Rust
195
195
uses : actions-rs/toolchain@v1
196
196
with :
197
- toolchain : nightly-2021-11-18
197
+ toolchain : nightly-2022-04-17
198
198
components : rustfmt
199
199
default : true
200
200
Original file line number Diff line number Diff line change 14
14
- name : Install Rust
15
15
uses : actions-rs/toolchain@v1
16
16
with :
17
- toolchain : nightly-2021-11-18
17
+ toolchain : nightly-2022-04-17
18
18
components : rustfmt
19
19
default : true
20
20
Original file line number Diff line number Diff line change 26
26
27
27
- uses : actions-rs/toolchain@v1
28
28
with :
29
- toolchain : nightly-2021-11-18
29
+ toolchain : nightly-2022-04-17
30
30
components : rustfmt
31
31
target : aarch64-unknown-linux-gnu
32
32
default : true
88
88
89
89
- uses : actions-rs/toolchain@v1
90
90
with :
91
- toolchain : nightly-2021-11-18
91
+ toolchain : nightly-2022-04-17
92
92
components : rustfmt
93
93
default : true
94
94
@@ -135,7 +135,7 @@ jobs:
135
135
136
136
- uses : actions-rs/toolchain@v1
137
137
with :
138
- toolchain : nightly-2021-11-18
138
+ toolchain : nightly-2022-04-17
139
139
components : rustfmt
140
140
target : aarch64-apple-darwin
141
141
default : true
Original file line number Diff line number Diff line change @@ -123,10 +123,7 @@ impl<'a> PandasDestination<'a> {
123
123
impl < ' a > Destination for PandasDestination < ' a > {
124
124
const DATA_ORDERS : & ' static [ DataOrder ] = & [ DataOrder :: RowMajor ] ;
125
125
type TypeSystem = PandasTypeSystem ;
126
- type Partition < ' b >
127
- where
128
- ' a : ' b ,
129
- = PandasPartitionDestination < ' b > ;
126
+ type Partition < ' b > = PandasPartitionDestination < ' b > where ' a : ' b ;
130
127
type Error = ConnectorXPythonError ;
131
128
132
129
fn needs_count ( & self ) -> bool {
Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ macro_rules! impl_transport {
201
201
ts2: Self :: TSD ,
202
202
src: & ' r mut <<Self :: S as $crate:: sources:: Source >:: Partition as $crate:: sources:: SourcePartition >:: Parser <' s>,
203
203
dst: & ' r mut <Self :: D as $crate:: destinations:: Destination >:: Partition <' d>,
204
- ) -> Result <( ) , Self :: Error > {
204
+ ) -> Result <( ) , Self :: Error > where Self : ' d {
205
205
match ( ts1, ts2) {
206
206
$(
207
207
( $TSS:: $V1( true ) , $TSD:: $V2( true ) ) => {
@@ -236,7 +236,7 @@ macro_rules! impl_transport {
236
236
src: & mut <<Self :: S as $crate:: sources:: Source >:: Partition as $crate:: sources:: SourcePartition >:: Parser <' s>,
237
237
dst: & mut <Self :: D as $crate:: destinations:: Destination >:: Partition <' d>,
238
238
) -> Result <( ) , Self :: Error >
239
- > {
239
+ > where Self : ' d {
240
240
match ( ts1, ts2) {
241
241
$(
242
242
( $TSS:: $V1( true ) , $TSD:: $V2( true ) ) => {
Original file line number Diff line number Diff line change @@ -93,7 +93,9 @@ pub trait Transport {
93
93
ts2 : Self :: TSD ,
94
94
src : & ' r mut <<Self :: S as Source >:: Partition as SourcePartition >:: Parser < ' s > ,
95
95
dst : & ' r mut <Self :: D as Destination >:: Partition < ' d > ,
96
- ) -> Result < ( ) , Self :: Error > ;
96
+ ) -> Result < ( ) , Self :: Error >
97
+ where
98
+ Self : ' d ;
97
99
98
100
#[ allow( clippy:: type_complexity) ]
99
101
fn processor < ' s , ' d > (
@@ -104,7 +106,9 @@ pub trait Transport {
104
106
src : & mut <<Self :: S as Source >:: Partition as SourcePartition >:: Parser < ' s > ,
105
107
dst : & mut <Self :: D as Destination >:: Partition < ' d > ,
106
108
) -> Result < ( ) , Self :: Error > ,
107
- > ;
109
+ >
110
+ where
111
+ Self : ' d ;
108
112
}
109
113
110
114
#[ doc( hidden) ]
You can’t perform that action at this time.
0 commit comments