From 77aa8b2c3f9b10512269f1054998223eb7e9ea0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kl=C3=A4hn?= Date: Tue, 6 Jul 2021 20:05:18 +0200 Subject: [PATCH] remove unnecessary function-args --- Cargo.toml | 2 +- src/chat.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 070ca3ffc..ef99ce8e4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -115,7 +115,7 @@ name = "search_msgs" harness = false [features] -default = [] +default = ["vendored"] internals = [] repl = ["internals", "rustyline", "log", "pretty_env_logger", "ansi_term", "dirs"] vendored = ["async-native-tls/vendored", "async-smtp/native-tls-vendored", "rusqlite/bundled"] diff --git a/src/chat.rs b/src/chat.rs index b13bdbbbc..b0eed7096 100644 --- a/src/chat.rs +++ b/src/chat.rs @@ -4171,7 +4171,7 @@ mod tests { } #[async_std::test] - async fn test_sticker_forward(filename: &str, bytes: &[u8], w: i32, h: i32) -> Result<()> { + async fn test_sticker_forward() -> Result<()> { // create chats let alice = TestContext::new_alice().await; let bob = TestContext::new_bob().await; @@ -4205,7 +4205,7 @@ mod tests { } #[async_std::test] - async fn test_forward(filename: &str, bytes: &[u8], w: i32, h: i32) -> Result<()> { + async fn test_forward() -> Result<()> { let alice = TestContext::new_alice().await; let bob = TestContext::new_bob().await; let alice_chat = alice.create_chat(&bob).await;