From 60d48465866df4fe8499933ef03c98b7218e0ccd Mon Sep 17 00:00:00 2001 From: Hocuri Date: Wed, 26 Oct 2022 15:16:41 +0200 Subject: [PATCH] clippy --- src/test_utils.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test_utils.rs b/src/test_utils.rs index 8f994e1b6..e1070f163 100644 --- a/src/test_utils.rs +++ b/src/test_utils.rs @@ -113,8 +113,7 @@ impl TestContextManager { )); let chat = from.create_chat(to).await; let sent = from.send_text(chat.id, msg).await; - let received_msg = to.recv_msg(&sent).await; - received_msg + to.recv_msg(&sent).await } pub async fn change_addr(&self, test_context: &TestContext, new_addr: &str) {