File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ impl Connection {
151
151
tokio:: select! {
152
152
v = write_avail_receiver. recv( ) => {
153
153
assert!( v. is_some( ) ) ; // We can't have dropped the sending end, its in the us Arc!
154
- if let Err ( e ) = peer_manager. write_buffer_space_avail( & mut our_descriptor) {
154
+ if let Err ( _ ) = peer_manager. write_buffer_space_avail( & mut our_descriptor) {
155
155
break Disconnect :: CloseConnection ;
156
156
}
157
157
} ,
@@ -167,10 +167,10 @@ impl Connection {
167
167
us_lock. read_paused = true ;
168
168
}
169
169
} ,
170
- Err ( e ) => break Disconnect :: CloseConnection ,
170
+ Err ( _ ) => break Disconnect :: CloseConnection ,
171
171
}
172
172
} ,
173
- Err ( e ) => break Disconnect :: PeerDisconnected ,
173
+ Err ( _ ) => break Disconnect :: PeerDisconnected ,
174
174
} ,
175
175
}
176
176
peer_manager. process_events ( ) ;
You can’t perform that action at this time.
0 commit comments