Skip to content

Commit

Permalink
Remove unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
locka99 committed Oct 12, 2021
1 parent 1723991 commit 0ff9c9e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions client/src/message_queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2017-2020 Adam Lock

use std::{
collections::{HashMap, HashSet},
sync::mpsc::SyncSender,
};
use std::{collections::HashMap, sync::mpsc::SyncSender};

use tokio::sync::mpsc::{self, UnboundedReceiver, UnboundedSender};

Expand Down Expand Up @@ -109,8 +106,9 @@ impl MessageQueue {
// Synchronous request
if let Err(e) = sender.send(response) {
error!(
"Cannot send a response to a synchronous request {} because send failed",
request_handle
"Cannot send a response to a synchronous request {} because send failed, error = {}",
request_handle,
e
);
}
} else {
Expand Down

0 comments on commit 0ff9c9e

Please sign in to comment.