From a222715c4ba7742fda9a5f6c95940bd12a185f49 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Sat, 14 May 2022 17:01:32 +0300 Subject: [PATCH] fix clippy --- src/bot/commands/subscribe.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bot/commands/subscribe.rs b/src/bot/commands/subscribe.rs index 715ee93d..c816d9ff 100644 --- a/src/bot/commands/subscribe.rs +++ b/src/bot/commands/subscribe.rs @@ -78,7 +78,7 @@ impl Subscribe { let subscription = telegram::create_subscription(db_connection, new_telegram_subscription).unwrap(); - SyncFeedJob::new(feed.id).enqueue(&db_connection).unwrap(); + SyncFeedJob::new(feed.id).enqueue(db_connection).unwrap(); Ok(subscription) })