it: fix clippy lints
This commit is contained in:
parent
15a1b600f3
commit
6baa7ab07f
3 changed files with 4 additions and 4 deletions
|
|
@ -200,7 +200,7 @@ struct Outgoing {
|
|||
}
|
||||
|
||||
impl Outgoing {
|
||||
async fn run(mut self: Self) {
|
||||
async fn run(mut self) {
|
||||
loop {
|
||||
self.tc.flush_request.triggered().await;
|
||||
if let Err(e) = self.flush().await {
|
||||
|
|
@ -238,7 +238,7 @@ struct Incoming {
|
|||
}
|
||||
|
||||
impl Incoming {
|
||||
async fn run(mut self: Self) {
|
||||
async fn run(mut self) {
|
||||
loop {
|
||||
if let Err(e) = self.handle_msg().await {
|
||||
let msg = format!(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue